| Modifier and Type | Method and Description |
|---|---|
| public SessionFactory | Returns: THe built SessionFactory.
Deprecated
as a consequence of
Short-hand form of building a SessionFactory being deprecated.
org. through the builder without any additional
option overrides.
|
| public Collection | |
| public Collection | Returns: The collection mapping metadata, ornull if no matching collection found.The collection role for which to retrieve the metadata. role)Retrieves the collection mapping metadata for the given collection role. |
| public Collection | Returns: All Collection representations.Retrieves the Collection metadata representation for all known collections. |
| public Database | |
| public PersistentClass | Returns: The entity mapping metadata, ornull if no matching entity found.The entity name for which to retrieve the metadata. entityName)Retrieves the PersistentClass entity mapping metadata representation for the given entity name. |
| public Collection | Returns: All PersistentClass representations.Retrieves the PersistentClass entity metadata representation for all known entities. |
| public FetchProfile | |
| public Collection | |
| public FilterDefinition | Returns: The filter definition, ornull.The name of the filter definition to retrieve
. name)Retrieves a filter definition by name. |
| public Map | Returns: The filter definition map.Retrieves the complete map of filter definitions. |
| public IdentifierGeneratorDefinition | |
| public Map | |
| public NamedEntityGraphDefinition | |
| public Map | |
| public NamedSQLQueryDefinition | Returns: The named query metadata, ornullThe SQL query name. name)Retrieve named SQL query metadata. |
| public Collection | |
| public Collection | |
| public NamedQueryDefinition | Returns: The named query metadata, ornull.The query name name)Retrieve named query metadata by name. |
| public Collection | |
| public ResultSetMappingDefinition | Returns: The named result set mapping metadata, ornull if none found.The mapping name. name)Retrieve the metadata for a named SQL result set mapping. |
| public Map | |
| public SessionFactoryBuilder | Returns: The builder fororg. instances.Get the builder for |
| public Map | |
| public TypeDefinition | Returns: The named type definition, ornullThe name of the type definition to retrieve. typeName)Retrieve a type definition by name. |
| public UUID |
| buildSessionFactory | back to summary |
|---|---|
| public SessionFactory buildSessionFactory()
Deprecated as a consequence of Short-hand form of building a
| |
| collectTableMappings | back to summary |
|---|---|
| public Collection | |
| getCollectionBinding | back to summary |
|---|---|
| public Collection getCollectionBinding(String role) Retrieves the collection mapping metadata for the given collection role.
| |
| getCollectionBindings | back to summary |
|---|---|
| public Collection Retrieves the Collection metadata representation for all known collections. Returned collection is immutable
| |
| getDatabase | back to summary |
|---|---|
| public Database getDatabase() Retrieve the database model.
| |
| getEntityBinding | back to summary |
|---|---|
| public PersistentClass getEntityBinding(String entityName) Retrieves the PersistentClass entity mapping metadata representation for the given entity name.
| |
| getEntityBindings | back to summary |
|---|---|
| public Collection Retrieves the PersistentClass entity metadata representation for all known entities. Returned collection is immutable
| |
| getFetchProfile | back to summary |
|---|---|
| public FetchProfile getFetchProfile(String name) | |
| getFetchProfiles | back to summary |
|---|---|
| public Collection | |
| getFilterDefinition | back to summary |
|---|---|
| public FilterDefinition getFilterDefinition(String name) Retrieves a filter definition by name.
| |
| getFilterDefinitions | back to summary |
|---|---|
| public Map Retrieves the complete map of filter definitions. Returned map is immutable
| |
| getIdentifierGenerator | back to summary |
|---|---|
| public IdentifierGeneratorDefinition getIdentifierGenerator(String name) | |
| getImports | back to summary |
|---|---|
| public Map Retrieves all defined imports (class renames). | |
| getNamedEntityGraph | back to summary |
|---|---|
| public NamedEntityGraphDefinition getNamedEntityGraph(String name) | |
| getNamedEntityGraphs | back to summary |
|---|---|
| public Map | |
| getNamedNativeQueryDefinition | back to summary |
|---|---|
| public NamedSQLQueryDefinition getNamedNativeQueryDefinition(String name) Retrieve named SQL query metadata.
| |
| getNamedNativeQueryDefinitions | back to summary |
|---|---|
| public Collection | |
| getNamedProcedureCallDefinitions | back to summary |
|---|---|
| public Collection | |
| getNamedQueryDefinition | back to summary |
|---|---|
| public NamedQueryDefinition getNamedQueryDefinition(String name) Retrieve named query metadata by name.
| |
| getNamedQueryDefinitions | back to summary |
|---|---|
| public Collection | |
| getResultSetMapping | back to summary |
|---|---|
| public ResultSetMappingDefinition getResultSetMapping(String name) Retrieve the metadata for a named SQL result set mapping.
| |
| getResultSetMappingDefinitions | back to summary |
|---|---|
| public Map | |
| getSessionFactoryBuilder | back to summary |
|---|---|
| public SessionFactoryBuilder getSessionFactoryBuilder() Get the builder for
| |
| getSqlFunctionMap | back to summary |
|---|---|
| public Map | |
| getTypeDefinition | back to summary |
|---|---|
| public TypeDefinition getTypeDefinition(String typeName) Retrieve a type definition by name.
| |
| getUUID | back to summary |
|---|---|
| public UUID getUUID() Gets the
| |