org.hibernate.cfg

Class Settings


public final class Settings
extends java.lang.Object

Settings that affect the behaviour of Hibernate at runtime.
Author:
Gavin King

Method Summary

BatcherFactory
getBatcherFactory()
String
getCacheRegionPrefix()
ConnectionProvider
getConnectionProvider()
ConnectionReleaseMode
getConnectionReleaseMode()
int
getDefaultBatchFetchSize()
String
getDefaultCatalogName()
EntityMode
getDefaultEntityMode()
String
getDefaultSchemaName()
Dialect
getDialect()
int
getJdbcBatchSize()
Integer
getJdbcFetchSize()
Integer
getMaximumFetchDepth()
QueryCacheFactory
getQueryCacheFactory()
Map
getQuerySubstitutions()
QueryTranslatorFactory
getQueryTranslatorFactory()
RegionFactory
getRegionFactory()
SQLExceptionConverter
getSQLExceptionConverter()
String
getSessionFactoryName()
SQLStatementLogger
getSqlStatementLogger()
TransactionFactory
getTransactionFactory()
TransactionManagerLookup
getTransactionManagerLookup()
boolean
isAutoCloseSessionEnabled()
boolean
isAutoCreateSchema()
boolean
isAutoDropSchema()
boolean
isAutoUpdateSchema()
boolean
isAutoValidateSchema()
boolean
isCommentsEnabled()
boolean
isDataDefinitionImplicitCommit()
boolean
isDataDefinitionInTransactionSupported()
boolean
isFlushBeforeCompletionEnabled()
boolean
isGetGeneratedKeysEnabled()
boolean
isIdentifierRollbackEnabled()
boolean
isJdbcBatchVersionedData()
boolean
isMinimalPutsEnabled()
boolean
isNamedQueryStartupCheckingEnabled()
boolean
isOrderInsertsEnabled()
boolean
isOrderUpdatesEnabled()
boolean
isQueryCacheEnabled()
boolean
isScrollableResultSetsEnabled()
boolean
isSecondLevelCacheEnabled()
boolean
isStatisticsEnabled()
boolean
isStrictJPAQLCompliance()
boolean
isStructuredCacheEntriesEnabled()
boolean
isWrapResultSetsEnabled()

Method Details

getBatcherFactory

public BatcherFactory getBatcherFactory()

getCacheRegionPrefix

public String getCacheRegionPrefix()

getConnectionProvider

public ConnectionProvider getConnectionProvider()

getConnectionReleaseMode

public ConnectionReleaseMode getConnectionReleaseMode()

getDefaultBatchFetchSize

public int getDefaultBatchFetchSize()

getDefaultCatalogName

public String getDefaultCatalogName()

getDefaultEntityMode

public EntityMode getDefaultEntityMode()

getDefaultSchemaName

public String getDefaultSchemaName()

getDialect

public Dialect getDialect()

getJdbcBatchSize

public int getJdbcBatchSize()

getJdbcFetchSize

public Integer getJdbcFetchSize()

getMaximumFetchDepth

public Integer getMaximumFetchDepth()

getQueryCacheFactory

public QueryCacheFactory getQueryCacheFactory()

getQuerySubstitutions

public Map getQuerySubstitutions()

getQueryTranslatorFactory

public QueryTranslatorFactory getQueryTranslatorFactory()

getRegionFactory

public RegionFactory getRegionFactory()

getSQLExceptionConverter

public SQLExceptionConverter getSQLExceptionConverter()

getSessionFactoryName

public String getSessionFactoryName()

getSqlStatementLogger

public SQLStatementLogger getSqlStatementLogger()

getTransactionFactory

public TransactionFactory getTransactionFactory()

getTransactionManagerLookup

public TransactionManagerLookup getTransactionManagerLookup()

isAutoCloseSessionEnabled

public boolean isAutoCloseSessionEnabled()

isAutoCreateSchema

public boolean isAutoCreateSchema()

isAutoDropSchema

public boolean isAutoDropSchema()

isAutoUpdateSchema

public boolean isAutoUpdateSchema()

isAutoValidateSchema

public boolean isAutoValidateSchema()

isCommentsEnabled

public boolean isCommentsEnabled()

isDataDefinitionImplicitCommit

public boolean isDataDefinitionImplicitCommit()

isDataDefinitionInTransactionSupported

public boolean isDataDefinitionInTransactionSupported()

isFlushBeforeCompletionEnabled

public boolean isFlushBeforeCompletionEnabled()

isGetGeneratedKeysEnabled

public boolean isGetGeneratedKeysEnabled()

isIdentifierRollbackEnabled

public boolean isIdentifierRollbackEnabled()

isJdbcBatchVersionedData

public boolean isJdbcBatchVersionedData()

isMinimalPutsEnabled

public boolean isMinimalPutsEnabled()

isNamedQueryStartupCheckingEnabled

public boolean isNamedQueryStartupCheckingEnabled()

isOrderInsertsEnabled

public boolean isOrderInsertsEnabled()

isOrderUpdatesEnabled

public boolean isOrderUpdatesEnabled()

isQueryCacheEnabled

public boolean isQueryCacheEnabled()

isScrollableResultSetsEnabled

public boolean isScrollableResultSetsEnabled()

isSecondLevelCacheEnabled

public boolean isSecondLevelCacheEnabled()

isStatisticsEnabled

public boolean isStatisticsEnabled()

isStrictJPAQLCompliance

public boolean isStrictJPAQLCompliance()

isStructuredCacheEntriesEnabled

public boolean isStructuredCacheEntriesEnabled()

isWrapResultSetsEnabled

public boolean isWrapResultSetsEnabled()