站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

Settings (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


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()
           
 SQLExceptionConverter getSQLExceptionConverter()
           
 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()
           
 boolean isWrapResultSetsEnabled()
           
 void setJdbcBatchVersionedData(boolean jdbcBatchVersionedData)
           
 void setQueryCacheFactory(QueryCacheFactory queryCacheFactory)
           
 void setWrapResultSetsEnabled(boolean wrapResultSetsEnabled)
           
 
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)

getSQLExceptionConverter

public SQLExceptionConverter getSQLExceptionConverter()

isWrapResultSetsEnabled

public boolean isWrapResultSetsEnabled()

setWrapResultSetsEnabled

public void setWrapResultSetsEnabled(boolean wrapResultSetsEnabled)