|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the internal contract between the SessionFactory and other parts of Hibernate such as implementors of Type.
SessionFactory
,
SessionFactoryImpl
Method Summary | |
Map |
getAllSecondLevelCacheRegions()
|
CollectionPersister |
getCollectionPersister(String role)
Get the persister object for a collection role |
ConnectionProvider |
getConnectionProvider()
Get the connection provider |
Dialect |
getDialect()
Get the SQL Dialect |
EntityPersister |
getEntityPersister(String entityName)
Get the persister for the named entity |
IdentifierGenerator |
getIdentifierGenerator(String rootEntityName)
Get the identifier generator for the hierarchy |
String[] |
getImplementors(String className)
Get the names of all persistent classes that implement/extend the given interface/class |
String |
getImportedClassName(String name)
Get a class name, using query language imports |
NamedQueryDefinition |
getNamedQuery(String queryName)
|
NamedSQLQueryDefinition |
getNamedSQLQuery(String queryName)
|
QueryCache |
getQueryCache()
Get the default query cache |
QueryCache |
getQueryCache(String regionName)
Get a particular named query cache, or the default cache |
String[] |
getReturnAliases(String queryString)
Get the return aliases of a query |
Type[] |
getReturnTypes(String queryString)
Get the return types of a query |
Cache |
getSecondLevelCacheRegion(String regionName)
Get a named second-level cache region |
Settings |
getSettings()
|
SQLExceptionConverter |
getSQLExceptionConverter()
Retrieves the SQLExceptionConverter in effect for this SessionFactory. |
SqlResultsetMappingDefinition |
getSqlResultSetMapping(String name)
|
StatisticsImplementor |
getStatisticsImplementor()
Statistics SPI |
TransactionManager |
getTransactionManager()
Get the JTA transaction manager |
UpdateTimestampsCache |
getUpdateTimestampsCache()
Get the cache of table update timestamps |
Methods inherited from interface org.hibernate.engine.Mapping |
getIdentifierPropertyName, getIdentifierType, getPropertyType |
Methods inherited from interface org.hibernate.SessionFactory |
close, evict, evict, evictCollection, evictCollection, evictEntity, evictEntity, evictQueries, evictQueries, getAllClassMetadata, getAllCollectionMetadata, getClassMetadata, getClassMetadata, getCollectionMetadata, getCurrentSession, getStatistics, isClosed, openSession, openSession, openSession, openSession |
Methods inherited from interface javax.naming.Referenceable |
getReference |
Method Detail |
public EntityPersister getEntityPersister(String entityName) throws MappingException
MappingException
public CollectionPersister getCollectionPersister(String role) throws MappingException
MappingException
public Dialect getDialect()
public Type[] getReturnTypes(String queryString) throws HibernateException
HibernateException
public String[] getReturnAliases(String queryString) throws HibernateException
HibernateException
public ConnectionProvider getConnectionProvider()
public String[] getImplementors(String className) throws MappingException
MappingException
public String getImportedClassName(String name)
public TransactionManager getTransactionManager()
public QueryCache getQueryCache()
public QueryCache getQueryCache(String regionName) throws HibernateException
regionName
- the name of the cache region, or null for the default query cache
HibernateException
public UpdateTimestampsCache getUpdateTimestampsCache()
public StatisticsImplementor getStatisticsImplementor()
public NamedQueryDefinition getNamedQuery(String queryName)
public NamedSQLQueryDefinition getNamedSQLQuery(String queryName)
public SqlResultsetMappingDefinition getSqlResultSetMapping(String name)
public IdentifierGenerator getIdentifierGenerator(String rootEntityName)
public Cache getSecondLevelCacheRegion(String regionName)
public Map getAllSecondLevelCacheRegions()
public SQLExceptionConverter getSQLExceptionConverter()
public Settings getSettings()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |