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,
MetadataBuildingContext context) |
static Ejb3Column[] |
Ejb3Column.buildColumnFromAnnotation(Column[] anns,
Formula formulaAnn,
Nullability nullability,
PropertyHolder propertyHolder,
PropertyData inferredData,
String suffixForDefaultColumnName,
Map<String,Join> secondaryTables,
MetadataBuildingContext context) |
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,
MetadataBuildingContext buildingContext)
Build an index
|
IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
MetadataBuildingContext buildingContext,
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,
MetadataBuildingContext buildingContext) |
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,
MetadataBuildingContext buildingContext) |
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,
MetadataBuildingContext buildingContext)
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,
MetadataBuildingContext buildingContext) |
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,
MetadataBuildingContext buildingContext) |
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,
MetadataBuildingContext buildingContext) |
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,
MetadataBuildingContext buildingContext) |
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,
MetadataBuildingContext buildingContext) |
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,
MetadataBuildingContext buildingContext) |
void |
SimpleValueBinder.setColumns(Ejb3Column[] columns) |
void |
PropertyBinder.setColumns(Ejb3Column[] columns) |
void |
CollectionBinder.setElementColumns(Ejb3Column[] elementColumns) |
void |
CollectionBinder.setMapKeyColumns(Ejb3Column[] mapKeyColumns) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.