|
|||||||||||
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 | |
CollectionPersister |
getCollectionPersister(String role)
Get the persister object for a collection role |
ConnectionProvider |
getConnectionProvider()
Get the connection provider |
String |
getDefaultSchema()
Get the database schema specified in hibernate.default_schema |
Dialect |
getDialect()
Get the SQL Dialect |
String[] |
getImplementors(Class clazz)
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 |
int |
getJdbcBatchSize()
Get the JDBC batch size |
Integer |
getJdbcFetchSize()
Get the JDBC fetch size |
Integer |
getMaximumFetchDepth()
Get the maxmimum depth of outer join fetching |
ClassPersister |
getPersister(Class clazz)
Get the persister for a class |
ClassPersister |
getPersister(String className)
Get the persister for the named class |
QueryCache |
getQueryCache()
Get the default query cache |
QueryCache |
getQueryCache(String regionName)
Get a particular named query cache, or the default cache |
Type[] |
getReturnTypes(String queryString)
Get the return types of a query |
TransactionManager |
getTransactionManager()
Get the JTA transaction manager |
boolean |
isGetGeneratedKeysEnabled()
Is PreparedStatement.getGeneratedKeys supported? |
boolean |
isJdbcBatchVersionedData()
Should versioned data be included in jdbc batches? |
boolean |
isOuterJoinedFetchEnabled()
Is outerjoin fetching enabled? |
boolean |
isQueryCacheEnabled()
If query caching enabled? |
boolean |
isScrollableResultSetsEnabled()
Are scrollable ResultSets supported? |
boolean |
isShowSqlEnabled()
Are we logging SQL to the console? |
boolean |
isWrapResultSetsEnabled()
Should Hibernate wrap result sets in order to speed up column name lookups? |
Methods inherited from interface net.sf.hibernate.engine.Mapping |
getIdentifierPropertyName, getIdentifierType, getPropertyType |
Methods inherited from interface net.sf.hibernate.SessionFactory |
close, evict, evict, evictCollection, evictCollection, evictQueries, evictQueries, getAllClassMetadata, getAllCollectionMetadata, getClassMetadata, getCollectionMetadata, getSQLExceptionConverter, openDatabinder, openSession, openSession, openSession, openSession |
Methods inherited from interface javax.naming.Referenceable |
getReference |
Method Detail |
public ClassPersister getPersister(Class clazz) throws MappingException
MappingException
public ClassPersister getPersister(String className) throws MappingException
MappingException
public CollectionPersister getCollectionPersister(String role) throws MappingException
MappingException
public boolean isOuterJoinedFetchEnabled()
public boolean isScrollableResultSetsEnabled()
public boolean isGetGeneratedKeysEnabled()
public String getDefaultSchema()
public Dialect getDialect()
public Type[] getReturnTypes(String queryString) throws HibernateException
HibernateException
public ConnectionProvider getConnectionProvider()
public String[] getImplementors(Class clazz)
public String getImportedClassName(String name)
public int getJdbcBatchSize()
public Integer getJdbcFetchSize()
public Integer getMaximumFetchDepth()
public TransactionManager getTransactionManager()
public boolean isShowSqlEnabled()
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 boolean isQueryCacheEnabled()
public boolean isJdbcBatchVersionedData()
public boolean isWrapResultSetsEnabled()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |