buildMetadataInstance is called to generate
the complete (and immutable) Metadata object.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private class | InFlightMetadataCollectorImpl.TableColumnNameBinding
Internal struct used to maintain xref between physical and logical column names for a table. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAnyMetaDef(AnyMetaDef defAnn)
Implements org.
Deprecated
as a consequence of
AnyMetaDef being deprecated.
|
| public void | addAttributeConverter(Class<? extends AttributeConverter<X, Y>> converterClass)
Implements org. |
| public void | |
| public void | addAuxiliaryDatabaseObject(AuxiliaryDatabaseObject
The metadata. auxiliaryDatabaseObject)Implements org. |
| public AnnotatedClassType | |
| public void | addCollectionBinding(Collection
The collection metadata collection)Implements org. |
| public void | addColumnNameBinding(Table table, String logicalName, Column column)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public void | addColumnNameBinding(Table table, Identifier logicalName, Column column)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| private void | |
| public void | |
| public void | |
| public void | |
| public void | addDefaultQuery(NamedQueryDefinition queryDefinition)
Implements org. |
| public void | |
| public void | |
| public Table | addDenormalizedTable(String
The named schema in which the table belongs (or null). schemaName, String The named catalog in which the table belongs (or null). catalogName, String The table name name, boolean Is the table abstract (i.e. not really existing in the DB)? isAbstract, String A select statement which defines a logical table, much
like a DB view. subselectFragment, Table ??? includedTable)Implements org.
Deprecated
as a consequence of
Adds a 'denormalized table' to this repository.
Table being deprecated.
|
| public void | addEntityBinding(PersistentClass
The entity metadata persistentClass)Implements org. |
| public InFlightMetadataCollector. | addEntityTableXref(String entityName, Identifier primaryTableLogicalName, Table primaryTable, InFlightMetadataCollector.
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public void | |
| public void | addFilterDefinition(FilterDefinition
The filter definition to add. filterDefinition)Implements org. |
| private void | |
| public void | |
| private void | |
| private void | |
| public void | addImport(String
The entity name being renamed. importName, String The rename entityName)Implements org. |
| public void | addJpaIndexHolders(Table table, List<JPAIndexHolder> holders)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public void | addMappedBy(String entityName, String propertyName, String inversePropertyName)
Implements org. |
| public void | addMappedSuperclass(Class<T> type, MappedSuperclass mappedSuperclass)
Implements org. |
| public void | addNamedEntityGraph(NamedEntityGraphDefinition
The procedure call information definition)Implements org. |
| public void | addNamedNativeQuery(NamedSQLQueryDefinition
The metadata def)Implements org. |
| public void | addNamedProcedureCallDefinition(NamedProcedureCallDefinition
The procedure call information definition)Implements org. |
| public void | addNamedQuery(NamedQueryDefinition
The metadata def)Implements org. |
| public void | addPropertyAnnotatedWithMapsId(XClass entityType, PropertyData property)
Implements org. |
| public void | addPropertyAnnotatedWithMapsIdSpecj(XClass entityType, PropertyData property, String mapsIdValue)
Implements org. |
| public void | addPropertyReference(String referencedClass, String propertyName)
Implements org. |
| public void | addPropertyReferencedAssociation(String entityName, String propertyName, String propertyRef)
Implements org. |
| private void | |
| public void | addResultSetMapping(ResultSetMappingDefinition
The metadata resultSetMappingDefinition)Implements org. |
| private void | |
| public void | addSecondPass(SecondPass secondPass)
Implements org. |
| public void | addSecondPass(SecondPass secondPass, boolean onTopOfTheQueue)
Implements org. |
| private <T extends SecondPass> void | |
| private void | |
| public Table | addTable(String
The named schema in which the table belongs (or null). schemaName, String The named catalog in which the table belongs (or null). catalogName, String The table name name, String A select statement which defines a logical table, much
like a DB view. subselectFragment, boolean Is the table abstract (i.e. not really existing in the DB)? isAbstract)Implements org.
Deprecated
as a consequence of
Adds table metadata to this repository returning the created
metadata instance.
Table being deprecated.
|
| public void | addTableNameBinding(Identifier logicalName, Table table)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public void | addTableNameBinding(String schema, String catalog, String logicalName, String realTableName, Table denormalizedSuperTable)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public void | addToOneAndIdProperty(XClass entityType, PropertyData property)
Implements org. |
| public void | addTypeDefinition(TypeDefinition
The named type definition to add. typeDefinition)Implements org. |
| private void | |
| public void | addUniqueConstraintHolders(Table table, List<UniqueConstraintHolder> uniqueConstraintHolders)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public void | addUniqueConstraints(Table table, List<E> uniqueConstraints)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public void | addUniquePropertyReference(String referencedClass, String propertyName)
Implements org. |
| private void | |
| private void | |
| public void | |
| public MetadataImpl | Returns: The complete and immutable Metadata instanceBuilds the complete and immutable Metadata instance from the collected info. |
| public NamedQueryRepository | buildNamedQueryRepository(SessionFactoryImpl sessionFactory)
Implements org.
Deprecated
as a consequence of
SessionFactoryImpl being deprecated.
|
| private void | buildRecursiveOrderedFkSecondPasses(List<FkSecondPass>
The list containing the orderedFkSecondPasses, Map<String, Set<FkSecondPass>> FkSecondPass instances ready
for processing.Our lookup data structure to determine dependencies between tables isADependencyOf, String Table name to start recursive algorithm. startTable, String The current table name used to check for 'new' dependencies. currentTable)Recursively builds a list of FkSecondPass instances ready to be processed in this order. |
| public SessionFactory | buildSessionFactory()
Implements org.
Deprecated
as a consequence of
Short-hand form of building a SessionFactory being deprecated.
org. through the builder without any additional
option overrides.
|
| private void | buildUniqueKeyFromColumnNames(Table table, String keyName, String[] columnNames, MetadataBuildingContext buildingContext)
Deprecated
as a consequence of
Table being deprecated.
|
| private void | buildUniqueKeyFromColumnNames(final Table table, String keyName, final String[] columnNames, String[] orderings, boolean unique, final MetadataBuildingContext buildingContext)
Deprecated
as a consequence of
Table being deprecated.
|
| private void | |
| public Collection | |
| private int | determineCurrentNumberOfUniqueConstraintHolders(Table table)
Deprecated
as a consequence of
Table being deprecated.
|
| private List | |
| private String | |
| public AnyMetaDef | getAnyMetaDef(String name)
Implements org.
Deprecated
as a consequence of
AnyMetaDef being deprecated.
|
| public ConverterAutoApplyHandler | |
| public BootstrapContext | |
| public ClassmateContext | getClassmateContext()
Implements org. |
| public AnnotatedClassType | |
| public Collection | getCollectionBinding(String
The collection role for which to retrieve the metadata. role)Implements org. |
| public Collection | getCollectionBindings()
Implements org. |
| public Database | |
| public PersistentClass | getEntityBinding(String
The entity name for which to retrieve the metadata. entityName)Implements org. |
| public Map | getEntityBindingMap()
Implements org. |
| public Collection | getEntityBindings()
Implements org. |
| public InFlightMetadataCollector. | getEntityTableXref(String entityName)
Implements org. |
| public FetchProfile | |
| public Collection | |
| public FilterDefinition | getFilterDefinition(String
The name of the filter definition to retrieve
. name)Implements org. |
| public Map | getFilterDefinitions()
Implements org. |
| public String | getFromMappedBy(String entityName, String propertyName)
Implements org. |
| public IdentifierGeneratorDefinition | |
| public IdentifierGeneratorFactory | getIdentifierGeneratorFactory()
Implements org. |
| public String | getIdentifierPropertyName(String entityName)
Implements org. |
| public Type | |
| public Map | getImports()
Implements org. |
| public Map | |
| public String | getLogicalColumnName(Table table, String physicalName)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public String | getLogicalColumnName(Table table, Identifier physicalName)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public String | getLogicalTableName(Table ownerTable)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public MappedSuperclass | |
| public Set | |
| public MetadataBuildingOptions | getMetadataBuildingOptions()
Implements org. |
| public NamedEntityGraphDefinition | |
| public Map | |
| public NamedSQLQueryDefinition | getNamedNativeQueryDefinition(String
The SQL query name. name)Implements org. |
| public Collection | |
| public Collection | |
| public NamedQueryDefinition | getNamedQueryDefinition(String
The query name name)Implements org. |
| public Collection | |
| public String | getPhysicalColumnName(Table table, String logicalName)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public String | getPhysicalColumnName(Table table, Identifier logicalName)
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public String | getPhysicalTableName(Identifier logicalName)
Implements org. |
| public String | getPhysicalTableName(String logicalName)
Implements org. |
| public PropertyData | getPropertyAnnotatedWithIdAndToOne(XClass entityType, String propertyName)
Implements org. |
| public PropertyData | getPropertyAnnotatedWithMapsId(XClass entityType, String propertyName)
Implements org. |
| public String | getPropertyReferencedAssociation(String entityName, String propertyName)
Implements org. |
| public Type | getReferencedPropertyType(String entityName, String propertyName)
Implements org. |
| public ResultSetMappingDefinition | getResultSetMapping(String
The mapping name. name)Implements org. |
| public Map | |
| public SessionFactoryBuilder | getSessionFactoryBuilder()
Implements org. org. instances based on this metamodel.
|
| public Map | |
| public TypeConfiguration | getTypeConfiguration()
Implements org. |
| public TypeDefinition | getTypeDefinition(String
The name of the type definition to retrieve. registrationKey)Implements org. |
| public TypeResolver | Returns: The type resolverImplements org.
Deprecated
(since 5.3) No replacement, access to and handling of Types will be much different in 6.0
Retrieve the Type resolver associated with this factory.
|
| public UUID | getUUID()
Implements org. java. for this metamodel.
|
| private void | handleIdentifierValueBinding(KeyValue identifierValueBinding, Dialect dialect, RootClass entityBinding)
|
| public void | initSessionFactory(SessionFactoryImplementor sessionFactory)
Implements org.
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public boolean | |
| public NaturalIdUniqueKeyBinder | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | |
| public void | registerNaturalIdUniqueKeyBinder(String entityName, NaturalIdUniqueKeyBinder ukBinder)
Implements org. |
| private void | |
| protected void | secondPassCompileForeignKeys(final Table table, Set<ForeignKey> done, final MetadataBuildingContext buildingContext)
Deprecated
as a consequence of
Table being deprecated.
|
| private List | |
| public void |