Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.cfg.annotations |
Modifier and Type | Class and Description |
---|---|
class |
Ejb3DiscriminatorColumn
Discriminator column
|
class |
Ejb3JoinColumn
Wrap state of an EJB3 @JoinColumn annotation
and build the Hibernate column mapping element
|
class |
IndexColumn
index column
|
Modifier and Type | Method and Description |
---|---|
static Ejb3Column[] |
Ejb3Column.buildColumnFromAnnotation(Column[] anns,
Formula formulaAnn,
Nullability nullability,
PropertyHolder propertyHolder,
PropertyData inferredData,
Map<String,Join> secondaryTables,
Mappings mappings) |
static Ejb3Column[] |
Ejb3Column.buildColumnFromAnnotation(Column[] anns,
Formula formulaAnn,
Nullability nullability,
PropertyHolder propertyHolder,
PropertyData inferredData,
String suffixForDefaultColumnName,
Map<String,Join> secondaryTables,
Mappings mappings) |
Modifier and Type | Method and Description |
---|---|
void |
PropertyHolder.addProperty(Property prop,
Ejb3Column[] columns,
XClass declaringClass) |
void |
ComponentPropertyHolder.addProperty(Property prop,
Ejb3Column[] columns,
XClass declaringClass) |
void |
CollectionPropertyHolder.addProperty(Property prop,
Ejb3Column[] columns,
XClass declaringClass) |
void |
ClassPropertyHolder.addProperty(Property prop,
Ejb3Column[] columns,
XClass declaringClass) |
static void |
Ejb3Column.checkPropertyConsistency(Ejb3Column[] columns,
String propertyName) |
Constructor and Description |
---|
IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
Mappings mappings)
Build an index
|
IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
Mappings mappings,
boolean unique)
Build an index if unique is false or a Unique Key if unique is true
|
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionBinder.bindManyToManySecondPass(Collection collValue,
Map persistentClasses,
Ejb3JoinColumn[] joinColumns,
Ejb3JoinColumn[] inverseJoinColumns,
Ejb3Column[] elementColumns,
boolean isEmbedded,
XClass collType,
boolean ignoreNotFound,
boolean unique,
boolean cascadeDeleteEnabled,
TableBinder associationTableBinder,
XProperty property,
PropertyHolder parentPropertyHolder,
String hqlOrderBy,
Mappings mappings) |
protected boolean |
IdBagBinder.bindStarToManySecondPass(Map persistentClasses,
XClass collType,
Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
boolean isEmbedded,
XProperty property,
boolean unique,
TableBinder associationTableBinder,
boolean ignoreNotFound,
Mappings mappings) |
protected boolean |
CollectionBinder.bindStarToManySecondPass(Map persistentClasses,
XClass collType,
Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
boolean isEmbedded,
XProperty property,
boolean unique,
TableBinder associationTableBinder,
boolean ignoreNotFound,
Mappings mappings)
return true if it's a Fk, false if it's an association table
|
SecondPass |
MapBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
XProperty property,
XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
Mappings mappings) |
SecondPass |
MapBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
XProperty property,
XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
Mappings mappings) |
SecondPass |
ListBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
XProperty property,
XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
Mappings mappings) |
SecondPass |
ListBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
XProperty property,
XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
Mappings mappings) |
SecondPass |
CollectionBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
XProperty property,
XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
Mappings mappings) |
SecondPass |
CollectionBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
XProperty property,
XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
Mappings mappings) |
void |
SimpleValueBinder.setColumns(Ejb3Column[] columns) |
void |
PropertyBinder.setColumns(Ejb3Column[] columns) |
void |
CollectionBinder.setElementColumns(Ejb3Column[] elementColumns) |
void |
CollectionBinder.setMapKeyColumns(Ejb3Column[] mapKeyColumns) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.