Class TableBinder
java.lang.Object
org.hibernate.boot.model.internal.TableBinder
Stateful binder responsible for producing instances of
Table
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbind()
static void
bindForeignKey
(PersistentClass referencedEntity, PersistentClass destinationEntity, AnnotatedJoinColumns joinColumns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext) static Table
buildAndFillTable
(String schema, String catalog, Identifier logicalName, boolean isAbstract, UniqueConstraint[] uniqueConstraints, MetadataBuildingContext buildingContext) static Table
buildAndFillTable
(String schema, String catalog, Identifier logicalName, boolean isAbstract, UniqueConstraint[] uniqueConstraints, MetadataBuildingContext buildingContext, String subselect, InFlightMetadataCollector.EntityTableXref denormalizedSuperTableXref) getName()
static void
linkJoinColumnWithValueOverridingNameIfImplicit
(PersistentClass referencedEntity, Value value, AnnotatedJoinColumns joinColumns, SimpleValue simpleValue) void
setAbstract
(boolean anAbstract) void
setBuildingContext
(MetadataBuildingContext buildingContext) void
setCatalog
(String catalog) void
setDefaultName
(String ownerClassName, String ownerEntity, String ownerJpaEntity, String ownerEntityTable, String associatedClassName, String associatedEntity, String associatedJpaEntity, String associatedEntityTable, String propertyName) void
setJPA2ElementCollection
(boolean isJPA2ElementCollection) void
setJpaIndex
(Index[] indexes) void
void
void
setUniqueConstraints
(UniqueConstraint[] uniqueConstraints)
-
Constructor Details
-
TableBinder
public TableBinder()
-
-
Method Details
-
setBuildingContext
-
setSchema
-
setCatalog
-
getName
-
setName
-
setAbstract
public void setAbstract(boolean anAbstract) -
setUniqueConstraints
-
setJpaIndex
-
setJPA2ElementCollection
public void setJPA2ElementCollection(boolean isJPA2ElementCollection) -
bind
-
buildAndFillTable
public static Table buildAndFillTable(String schema, String catalog, Identifier logicalName, boolean isAbstract, UniqueConstraint[] uniqueConstraints, MetadataBuildingContext buildingContext) -
buildAndFillTable
public static Table buildAndFillTable(String schema, String catalog, Identifier logicalName, boolean isAbstract, UniqueConstraint[] uniqueConstraints, MetadataBuildingContext buildingContext, String subselect, InFlightMetadataCollector.EntityTableXref denormalizedSuperTableXref) -
bindForeignKey
public static void bindForeignKey(PersistentClass referencedEntity, PersistentClass destinationEntity, AnnotatedJoinColumns joinColumns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext) -
linkJoinColumnWithValueOverridingNameIfImplicit
public static void linkJoinColumnWithValueOverridingNameIfImplicit(PersistentClass referencedEntity, Value value, AnnotatedJoinColumns joinColumns, SimpleValue simpleValue) -
setDefaultName
-