org.hibernate.engine.SessionFactoryImplementor |
Known Indirect Subclasses |
Defines the internal contract between the SessionFactory and other parts of Hibernate such as implementors of Type.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a map of all the second level cache regions currently maintained in
this session factory.
| |||||||||||
Get the persister object for a collection role.
| |||||||||||
Retrieves a set of all the collection roles in which the given entity
is a participant, as either an index or an element.
| |||||||||||
Get the connection provider
| |||||||||||
Get the SQL dialect.
| |||||||||||
Get the persister for the named entity
| |||||||||||
Return the SessionFactoryObserver attached to the SessionFactory if any
| |||||||||||
Retrieve fetch profile by name.
| |||||||||||
Get the identifier generator for the hierarchy
| |||||||||||
Get the names of all persistent classes that implement/extend the given interface/class
| |||||||||||
Get a class name, using query language imports
| |||||||||||
Get the factory scoped interceptor for this factory.
| |||||||||||
Get a copy of the Properties used to configure this session factory.
| |||||||||||
Get a particular named query cache, or the default cache
| |||||||||||
Get the default query cache
| |||||||||||
Get the return aliases of a query
| |||||||||||
Get the return types of a query
| |||||||||||
Retrieves the SQLExceptionConverter in effect for this SessionFactory.
| |||||||||||
Get a named second-level cache region
| |||||||||||
Statistics SPI
| |||||||||||
Get the JTA transaction manager
| |||||||||||
Retrieve the
Type resolver associated with this factory. | |||||||||||
Get the cache of table update timestamps
| |||||||||||
Open a session conforming to the given parameters.
| |||||||||||
Get a nontransactional "current" session for Hibernate EntityManager
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
javax.naming.Referenceable
| |||||||||||
From interface
org.hibernate.SessionFactory
| |||||||||||
From interface
org.hibernate.engine.Mapping
|
Get a map of all the second level cache regions currently maintained in
this session factory. The map is structured with the region name as the
key and the Region
instances as the values.
Get the persister object for a collection role.
role | The role (name) of the collection for which to retrieve the persister. |
---|
MappingException | Indicates persister could not be found with that role. |
---|
Retrieves a set of all the collection roles in which the given entity is a participant, as either an index or an element.
entityName | The entity name for which to get the collection roles. |
---|
Get the persister for the named entity
entityName | The name of the entity for which to retrieve the persister. |
---|
MappingException | Indicates persister could not be found with that name. |
---|
Return the SessionFactoryObserver attached to the SessionFactory if any
Retrieve fetch profile by name.
name | The name of the profile to retrieve. |
---|
Get the identifier generator for the hierarchy
Get the names of all persistent classes that implement/extend the given interface/class
MappingException |
---|
Get a class name, using query language imports
Get the factory scoped interceptor for this factory.
Get a copy of the Properties used to configure this session factory.
Get a particular named query cache, or the default cache
regionName | the name of the cache region, or null for the default query cache |
---|
HibernateException |
---|
Get the return aliases of a query
HibernateException |
---|
Get the return types of a query
HibernateException |
---|
Retrieves the SQLExceptionConverter in effect for this SessionFactory.
Get a named second-level cache region
regionName | The name of the region to retrieve. |
---|
Get the JTA transaction manager
Retrieve the Type
resolver associated with this factory.
Get the cache of table update timestamps
Open a session conforming to the given parameters. Used mainly by
JTASessionContext
for current session processing.
connection | The external jdbc connection to use, if one (i.e., optional). |
---|---|
flushBeforeCompletionEnabled | Should the session be auto-flushed prior to transaction completion? |
autoCloseSessionEnabled | Should the session be auto-closed after transaction completion? |
connectionReleaseMode | The release mode for managed jdbc connections. |
HibernateException |
---|
Get a nontransactional "current" session for Hibernate EntityManager
HibernateException |
---|