|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ExtendedMappings | |
---|---|
org.hibernate.cfg | |
org.hibernate.cfg.annotations |
Uses of ExtendedMappings in org.hibernate.cfg |
---|
Methods in org.hibernate.cfg that return ExtendedMappings | |
---|---|
ExtendedMappings |
AnnotationConfiguration.createExtendedMappings()
|
protected ExtendedMappings |
Ejb3Column.getMappings()
|
Methods in org.hibernate.cfg with parameters of type ExtendedMappings | |
---|---|
static void |
BinderHelper.bindAnyMetaDefs(org.hibernate.annotations.common.reflection.XAnnotatedElement annotatedElement,
ExtendedMappings mappings)
|
static void |
AnnotationBinder.bindClass(org.hibernate.annotations.common.reflection.XClass clazzToProcess,
Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
ExtendedMappings mappings)
Bind a class having JSR175 annotations The subclasses have to be binded after its mother class |
static void |
AnnotationBinder.bindDefaults(ExtendedMappings mappings)
|
static void |
AnnotationBinder.bindPackage(String packageName,
ExtendedMappings mappings)
|
static org.hibernate.mapping.Any |
BinderHelper.buildAnyValue(String anyMetaDefName,
Ejb3JoinColumn[] columns,
javax.persistence.Column metaColumn,
PropertyData inferredData,
boolean cascadeOnDelete,
Nullability nullability,
PropertyHolder propertyHolder,
EntityBinder entityBinder,
boolean optional,
ExtendedMappings mappings)
|
static Ejb3Column[] |
Ejb3Column.buildColumnFromAnnotation(javax.persistence.Column[] anns,
Formula formulaAnn,
Nullability nullability,
PropertyHolder propertyHolder,
PropertyData inferredData,
Map<String,org.hibernate.mapping.Join> secondaryTables,
ExtendedMappings mappings)
|
static IndexColumn |
IndexColumn.buildColumnFromAnnotation(IndexColumn ann,
PropertyHolder propertyHolder,
PropertyData inferredData,
ExtendedMappings mappings)
|
static Ejb3DiscriminatorColumn |
Ejb3DiscriminatorColumn.buildDiscriminatorColumn(javax.persistence.DiscriminatorType type,
javax.persistence.DiscriminatorColumn discAnn,
DiscriminatorFormula discFormulaAnn,
ExtendedMappings mappings)
|
static Ejb3JoinColumn |
Ejb3JoinColumn.buildJoinColumn(javax.persistence.PrimaryKeyJoinColumn pkJoinAnn,
javax.persistence.JoinColumn joinAnn,
org.hibernate.mapping.Value identifier,
Map<String,org.hibernate.mapping.Join> joins,
PropertyHolder propertyHolder,
ExtendedMappings mappings)
Build JoinColumn for a JOINED hierarchy |
static Ejb3JoinColumn[] |
Ejb3JoinColumn.buildJoinColumns(javax.persistence.JoinColumn[] anns,
String mappedBy,
Map<String,org.hibernate.mapping.Join> joins,
PropertyHolder propertyHolder,
String propertyName,
ExtendedMappings mappings)
|
static Ejb3JoinColumn[] |
Ejb3JoinColumn.buildJoinTableJoinColumns(javax.persistence.JoinColumn[] annJoins,
Map<String,org.hibernate.mapping.Join> secondaryTables,
PropertyHolder propertyHolder,
String propertyName,
String mappedBy,
ExtendedMappings mappings)
|
static PropertyHolder |
PropertyHolderBuilder.buildPropertyHolder(org.hibernate.mapping.Collection collection,
String path,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
org.hibernate.annotations.common.reflection.XProperty property,
PropertyHolder parentPropertyHolder,
ExtendedMappings mappings)
buid a property holder on top of a collection |
static PropertyHolder |
PropertyHolderBuilder.buildPropertyHolder(org.hibernate.mapping.Component component,
String path,
PropertyData inferredData,
PropertyHolder parent,
ExtendedMappings mappings)
build a component property holder |
static PropertyHolder |
PropertyHolderBuilder.buildPropertyHolder(org.hibernate.mapping.PersistentClass persistentClass,
Map<String,org.hibernate.mapping.Join> joins,
ExtendedMappings mappings)
must only be used on second level phases ( |
static PropertyHolder |
PropertyHolderBuilder.buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess,
org.hibernate.mapping.PersistentClass persistentClass,
EntityBinder entityBinder,
ExtendedMappings mappings)
|
static int |
Ejb3JoinColumn.checkReferencedColumnsType(Ejb3JoinColumn[] columns,
org.hibernate.mapping.PersistentClass referencedEntity,
ExtendedMappings mappings)
|
static void |
BinderHelper.createSyntheticPropertyReference(Ejb3JoinColumn[] columns,
org.hibernate.mapping.PersistentClass ownerEntity,
org.hibernate.mapping.PersistentClass associatedEntity,
org.hibernate.mapping.Value value,
boolean inverse,
ExtendedMappings mappings)
|
static org.hibernate.mapping.Component |
AnnotationBinder.fillComponent(PropertyHolder propertyHolder,
PropertyData inferredData,
boolean propertyAnnotated,
String propertyAccessor,
boolean isNullable,
EntityBinder entityBinder,
boolean isComponentEmbedded,
boolean isIdentifierMapper,
boolean inSecondPass,
ExtendedMappings mappings)
|
static Object |
BinderHelper.findColumnOwner(org.hibernate.mapping.PersistentClass persistentClass,
String columnName,
ExtendedMappings mappings)
Find the column owner (ie PersistentClass or Join) of columnName. |
static boolean |
AnnotationBinder.isDefault(org.hibernate.annotations.common.reflection.XClass clazz,
ExtendedMappings mappings)
|
static void |
BinderHelper.makeIdGenerator(org.hibernate.mapping.SimpleValue id,
String generatorType,
String generatorName,
ExtendedMappings mappings,
Map<String,IdGenerator> localGenerators)
apply an id generator to a SimpleValue |
void |
Ejb3Column.setMappings(ExtendedMappings mappings)
|
Constructors in org.hibernate.cfg with parameters of type ExtendedMappings | |
---|---|
AbstractPropertyHolder(String path,
PropertyHolder parent,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
ExtendedMappings mappings)
|
|
ClassPropertyHolder(org.hibernate.mapping.PersistentClass persistentClass,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
EntityBinder entityBinder,
ExtendedMappings mappings)
|
|
ClassPropertyHolder(org.hibernate.mapping.PersistentClass persistentClass,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
Map<String,org.hibernate.mapping.Join> joins,
ExtendedMappings mappings)
|
|
CollectionPropertyHolder(org.hibernate.mapping.Collection collection,
String path,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
org.hibernate.annotations.common.reflection.XProperty property,
PropertyHolder parentPropertyHolder,
ExtendedMappings mappings)
|
|
ComponentPropertyHolder(org.hibernate.mapping.Component component,
String path,
PropertyData inferredData,
PropertyHolder parent,
ExtendedMappings mappings)
|
|
IndexColumn(boolean isImplicit,
String sqlType,
int length,
int precision,
int scale,
String name,
boolean nullable,
boolean unique,
boolean insertable,
boolean updatable,
String secondaryTableName,
Map<String,org.hibernate.mapping.Join> joins,
PropertyHolder propertyHolder,
ExtendedMappings mappings)
|
|
IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
ExtendedMappings mappings)
Build an index |
|
IndexOrUniqueKeySecondPass(String indexName,
Ejb3Column column,
ExtendedMappings mappings,
boolean unique)
Build an index if unique is false or a Unique Key if unique is true |
|
IndexOrUniqueKeySecondPass(org.hibernate.mapping.Table table,
String indexName,
String[] columns,
ExtendedMappings mappings)
Build an index |
|
JoinedSubclassFkSecondPass(org.hibernate.mapping.JoinedSubclass entity,
Ejb3JoinColumn[] inheritanceJoinedColumns,
org.hibernate.mapping.SimpleValue key,
ExtendedMappings mappings)
|
|
OneToOneSecondPass(String mappedBy,
String ownerEntity,
String ownerProperty,
PropertyHolder propertyHolder,
PropertyData inferredData,
org.hibernate.annotations.common.reflection.XClass targetEntity,
boolean ignoreNotFound,
boolean cascadeOnDelete,
boolean optional,
String cascadeStrategy,
Ejb3JoinColumn[] columns,
ExtendedMappings mappings)
|
|
ToOneFkSecondPass(org.hibernate.mapping.ToOne value,
Ejb3JoinColumn[] columns,
boolean unique,
String entityClassName,
String path,
ExtendedMappings mappings)
|
Uses of ExtendedMappings in org.hibernate.cfg.annotations |
---|
Methods in org.hibernate.cfg.annotations with parameters of type ExtendedMappings | |
---|---|
static void |
TableBinder.addIndexes(org.hibernate.mapping.Table hibTable,
Index[] indexes,
ExtendedMappings mappings)
|
static void |
TableBinder.bindFk(org.hibernate.mapping.PersistentClass referencedEntity,
org.hibernate.mapping.PersistentClass destinationEntity,
Ejb3JoinColumn[] columns,
org.hibernate.mapping.SimpleValue value,
boolean unique,
ExtendedMappings mappings)
|
static void |
CollectionBinder.bindManytoManyInverseFk(org.hibernate.mapping.PersistentClass referencedEntity,
Ejb3JoinColumn[] columns,
org.hibernate.mapping.SimpleValue value,
boolean unique,
ExtendedMappings mappings)
bind the inverse FK of a ManyToMany If we are in a mappedBy case, read the columns from the associated colletion element Otherwise delegates to the usual algorithm |
protected void |
CollectionBinder.bindManyToManySecondPass(org.hibernate.mapping.Collection collValue,
Map persistentClasses,
Ejb3JoinColumn[] joinColumns,
Ejb3JoinColumn[] inverseJoinColumns,
Ejb3Column[] elementColumns,
boolean isEmbedded,
org.hibernate.annotations.common.reflection.XClass collType,
boolean ignoreNotFound,
boolean unique,
boolean cascadeDeleteEnabled,
TableBinder associationTableBinder,
org.hibernate.annotations.common.reflection.XProperty property,
PropertyHolder parentPropertyHolder,
String hqlOrderBy,
ExtendedMappings mappings)
|
static void |
QueryBinder.bindNativeQueries(NamedNativeQueries queriesAnn,
ExtendedMappings mappings)
|
static void |
QueryBinder.bindNativeQueries(javax.persistence.NamedNativeQueries queriesAnn,
ExtendedMappings mappings,
boolean isDefault)
|
static void |
QueryBinder.bindNativeQuery(NamedNativeQuery queryAnn,
ExtendedMappings mappings)
|
static void |
QueryBinder.bindNativeQuery(javax.persistence.NamedNativeQuery queryAnn,
ExtendedMappings mappings,
boolean isDefault)
|
protected void |
CollectionBinder.bindOneToManySecondPass(org.hibernate.mapping.Collection collection,
Map persistentClasses,
Ejb3JoinColumn[] fkJoinColumns,
org.hibernate.annotations.common.reflection.XClass collectionType,
boolean cascadeDeleteEnabled,
boolean ignoreNotFound,
String hqlOrderBy,
ExtendedMappings extendedMappings)
|
static void |
QueryBinder.bindQueries(NamedQueries queriesAnn,
ExtendedMappings mappings)
|
static void |
QueryBinder.bindQueries(javax.persistence.NamedQueries queriesAnn,
ExtendedMappings mappings,
boolean isDefault)
|
static void |
QueryBinder.bindQuery(NamedQuery queryAnn,
ExtendedMappings mappings)
|
static void |
QueryBinder.bindQuery(javax.persistence.NamedQuery queryAnn,
ExtendedMappings mappings,
boolean isDefault)
|
static void |
QueryBinder.bindSqlResultsetMapping(javax.persistence.SqlResultSetMapping ann,
ExtendedMappings mappings,
boolean isDefault)
|
static void |
QueryBinder.bindSqlResultsetMappings(javax.persistence.SqlResultSetMappings ann,
ExtendedMappings mappings,
boolean isDefault)
|
protected boolean |
IdBagBinder.bindStarToManySecondPass(Map persistentClasses,
org.hibernate.annotations.common.reflection.XClass collType,
Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
boolean isEmbedded,
org.hibernate.annotations.common.reflection.XProperty property,
boolean unique,
TableBinder associationTableBinder,
boolean ignoreNotFound,
ExtendedMappings mappings)
|
protected boolean |
CollectionBinder.bindStarToManySecondPass(Map persistentClasses,
org.hibernate.annotations.common.reflection.XClass collType,
Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
boolean isEmbedded,
org.hibernate.annotations.common.reflection.XProperty property,
boolean unique,
TableBinder associationTableBinder,
boolean ignoreNotFound,
ExtendedMappings mappings)
return true if it's a Fk, false if it's an association table |
static org.hibernate.mapping.Table |
TableBinder.fillTable(String schema,
String catalog,
String realTableName,
String logicalName,
boolean isAbstract,
List uniqueConstraints,
String constraints,
org.hibernate.mapping.Table denormalizedSuperTable,
ExtendedMappings mappings)
|
org.hibernate.cfg.SecondPass |
MapBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
org.hibernate.annotations.common.reflection.XProperty property,
org.hibernate.annotations.common.reflection.XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
ExtendedMappings mappings)
|
org.hibernate.cfg.SecondPass |
ListBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
org.hibernate.annotations.common.reflection.XProperty property,
org.hibernate.annotations.common.reflection.XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
ExtendedMappings mappings)
|
org.hibernate.cfg.SecondPass |
CollectionBinder.getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
org.hibernate.annotations.common.reflection.XProperty property,
org.hibernate.annotations.common.reflection.XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
ExtendedMappings mappings)
|
void |
TableBinder.setMappings(ExtendedMappings mappings)
|
void |
SimpleValueBinder.setMappings(ExtendedMappings mappings)
|
void |
PropertyBinder.setMappings(ExtendedMappings mappings)
|
void |
CollectionBinder.setMappings(ExtendedMappings mappings)
|
Constructors in org.hibernate.cfg.annotations with parameters of type ExtendedMappings | |
---|---|
EntityBinder(javax.persistence.Entity ejb3Ann,
Entity hibAnn,
org.hibernate.annotations.common.reflection.XClass annotatedClass,
org.hibernate.mapping.PersistentClass persistentClass,
ExtendedMappings mappings)
|
|
ResultsetMappingSecondPass(javax.persistence.SqlResultSetMapping ann,
ExtendedMappings mappings,
boolean isDefault)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |