org.hibernate.cfg
Class Settings

java.lang.Object
  extended by org.hibernate.cfg.Settings

public final class Settings
extends 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()
           
 EntityTuplizerFactory getEntityTuplizerFactory()
           
 String getImportFiles()
           
 int getJdbcBatchSize()
           
 Integer getJdbcFetchSize()
           
 JdbcSupport getJdbcSupport()
           
 Integer getMaximumFetchDepth()
           
 QueryCacheFactory getQueryCacheFactory()
           
 Map getQuerySubstitutions()
           
 QueryTranslatorFactory getQueryTranslatorFactory()
           
 RegionFactory getRegionFactory()
           
 String getSessionFactoryName()
           
 SQLExceptionConverter getSQLExceptionConverter()
           
 SQLStatementLogger getSqlStatementLogger()
           
 TransactionFactory getTransactionFactory()
           
 TransactionManagerLookup getTransactionManagerLookup()
           
 boolean isAutoCloseSessionEnabled()
           
 boolean isAutoCreateSchema()
           
 boolean isAutoDropSchema()
           
 boolean isAutoUpdateSchema()
           
 boolean isAutoValidateSchema()
           
 boolean isCheckNullability()
           
 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()
           
 void setCheckNullability(boolean checkNullability)
           
 void setImportFiles(String importFiles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getImportFiles

public String getImportFiles()

setImportFiles

public void setImportFiles(String importFiles)

getSqlStatementLogger

public SQLStatementLogger getSqlStatementLogger()

getDefaultSchemaName

public String getDefaultSchemaName()

getDefaultCatalogName

public String getDefaultCatalogName()

getDialect

public Dialect getDialect()

getJdbcBatchSize

public int getJdbcBatchSize()

getDefaultBatchFetchSize

public int getDefaultBatchFetchSize()

getQuerySubstitutions

public Map getQuerySubstitutions()

isIdentifierRollbackEnabled

public boolean isIdentifierRollbackEnabled()

isScrollableResultSetsEnabled

public boolean isScrollableResultSetsEnabled()

isGetGeneratedKeysEnabled

public boolean isGetGeneratedKeysEnabled()

isMinimalPutsEnabled

public boolean isMinimalPutsEnabled()

getJdbcFetchSize

public Integer getJdbcFetchSize()

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()

getRegionFactory

public RegionFactory getRegionFactory()

getTransactionManagerLookup

public TransactionManagerLookup getTransactionManagerLookup()

isQueryCacheEnabled

public boolean isQueryCacheEnabled()

isCommentsEnabled

public boolean isCommentsEnabled()

isSecondLevelCacheEnabled

public boolean isSecondLevelCacheEnabled()

getCacheRegionPrefix

public String getCacheRegionPrefix()

getQueryCacheFactory

public QueryCacheFactory getQueryCacheFactory()

isStatisticsEnabled

public boolean isStatisticsEnabled()

isJdbcBatchVersionedData

public boolean isJdbcBatchVersionedData()

isFlushBeforeCompletionEnabled

public boolean isFlushBeforeCompletionEnabled()

getBatcherFactory

public BatcherFactory getBatcherFactory()

isAutoCloseSessionEnabled

public boolean isAutoCloseSessionEnabled()

getConnectionReleaseMode

public ConnectionReleaseMode getConnectionReleaseMode()

getQueryTranslatorFactory

public QueryTranslatorFactory getQueryTranslatorFactory()

getSQLExceptionConverter

public SQLExceptionConverter getSQLExceptionConverter()

isWrapResultSetsEnabled

public boolean isWrapResultSetsEnabled()

isOrderUpdatesEnabled

public boolean isOrderUpdatesEnabled()

isOrderInsertsEnabled

public boolean isOrderInsertsEnabled()

isStructuredCacheEntriesEnabled

public boolean isStructuredCacheEntriesEnabled()

getDefaultEntityMode

public EntityMode getDefaultEntityMode()

isAutoValidateSchema

public boolean isAutoValidateSchema()

isDataDefinitionImplicitCommit

public boolean isDataDefinitionImplicitCommit()

isDataDefinitionInTransactionSupported

public boolean isDataDefinitionInTransactionSupported()

isStrictJPAQLCompliance

public boolean isStrictJPAQLCompliance()

isNamedQueryStartupCheckingEnabled

public boolean isNamedQueryStartupCheckingEnabled()

getEntityTuplizerFactory

public EntityTuplizerFactory getEntityTuplizerFactory()

getJdbcSupport

public JdbcSupport getJdbcSupport()

isCheckNullability

public boolean isCheckNullability()

setCheckNullability

public void setCheckNullability(boolean checkNullability)


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.