net.sf.hibernate.cfg
Class Settings

java.lang.Object
  extended bynet.sf.hibernate.cfg.Settings

public final class Settings
extends Object

Settings that affect the behaviour of Hibernate at runtime.

Author:
Gavin King

Constructor Summary
Settings()
           
 
Method Summary
 CacheProvider getCacheProvider()
           
 ConnectionProvider getConnectionProvider()
           
 String getDefaultSchemaName()
           
 Dialect getDialect()
           
 int getJdbcBatchSize()
           
 Integer getMaximumFetchDepth()
           
 QueryCacheFactory getQueryCacheFactory()
           
 Map getQuerySubstitutions()
           
 String getSessionFactoryName()
           
 Integer getStatementFetchSize()
           
 TransactionFactory getTransactionFactory()
           
 TransactionManagerLookup getTransactionManagerLookup()
           
 boolean isAutoCreateSchema()
           
 boolean isAutoDropSchema()
           
 boolean isAutoUpdateSchema()
           
 boolean isGetGeneratedKeysEnabled()
           
 boolean isJdbcBatchVersionedData()
           
 boolean isMinimalPutsEnabled()
           
 boolean isOuterJoinFetchEnabled()
           
 boolean isQueryCacheEnabled()
           
 boolean isScrollableResultSetsEnabled()
           
 boolean isShowSqlEnabled()
           
 void setJdbcBatchVersionedData(boolean jdbcBatchVersionedData)
           
 void setQueryCacheFactory(QueryCacheFactory queryCacheFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Settings

public Settings()
Method Detail

getDefaultSchemaName

public String getDefaultSchemaName()

getDialect

public Dialect getDialect()

getJdbcBatchSize

public int getJdbcBatchSize()

getQuerySubstitutions

public Map getQuerySubstitutions()

isShowSqlEnabled

public boolean isShowSqlEnabled()

isOuterJoinFetchEnabled

public boolean isOuterJoinFetchEnabled()

isScrollableResultSetsEnabled

public boolean isScrollableResultSetsEnabled()

isGetGeneratedKeysEnabled

public boolean isGetGeneratedKeysEnabled()

isMinimalPutsEnabled

public boolean isMinimalPutsEnabled()

getStatementFetchSize

public Integer getStatementFetchSize()

getConnectionProvider

public ConnectionProvider getConnectionProvider()

getTransactionFactory

public TransactionFactory getTransactionFactory()

getSessionFactoryName

public String getSessionFactoryName()

isAutoCreateSchema

public boolean isAutoCreateSchema()

isAutoDropSchema

public boolean isAutoDropSchema()

isAutoUpdateSchema

public boolean isAutoUpdateSchema()

getMaximumFetchDepth

public Integer getMaximumFetchDepth()

getCacheProvider

public CacheProvider getCacheProvider()

getTransactionManagerLookup

public TransactionManagerLookup getTransactionManagerLookup()

isQueryCacheEnabled

public boolean isQueryCacheEnabled()

getQueryCacheFactory

public QueryCacheFactory getQueryCacheFactory()

setQueryCacheFactory

public void setQueryCacheFactory(QueryCacheFactory queryCacheFactory)

isJdbcBatchVersionedData

public boolean isJdbcBatchVersionedData()

setJdbcBatchVersionedData

public void setJdbcBatchVersionedData(boolean jdbcBatchVersionedData)