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.


Method Summary
 BaselineSessionEventsListenerBuilder getBaselineSessionEventsListenerBuilder()
           
 BatchFetchStyle getBatchFetchStyle()
           
 String getCacheRegionPrefix()
           
 ConnectionReleaseMode getConnectionReleaseMode()
           
 int getDefaultBatchFetchSize()
           
 String getDefaultCatalogName()
           
 EntityMode getDefaultEntityMode()
           
 NullPrecedence getDefaultNullPrecedence()
           
 String getDefaultSchemaName()
           
 EntityTuplizerFactory getEntityTuplizerFactory()
           
 String getImportFiles()
           
 int getJdbcBatchSize()
           
 Integer getJdbcFetchSize()
           
 JtaPlatform getJtaPlatform()
           
 Integer getMaximumFetchDepth()
           
 MultiTableBulkIdStrategy getMultiTableBulkIdStrategy()
           
 MultiTenancyStrategy getMultiTenancyStrategy()
           
 QueryCacheFactory getQueryCacheFactory()
           
 Map getQuerySubstitutions()
           
 QueryTranslatorFactory getQueryTranslatorFactory()
           
 RegionFactory getRegionFactory()
           
 String getSessionFactoryName()
           
 boolean isAutoCloseSessionEnabled()
           
 boolean isAutoCreateSchema()
           
 boolean isAutoDropSchema()
           
 boolean isAutoUpdateSchema()
           
 boolean isAutoValidateSchema()
           
 boolean isCheckNullability()
           
 boolean isCommentsEnabled()
           
 boolean isDataDefinitionImplicitCommit()
           
 boolean isDataDefinitionInTransactionSupported()
           
 boolean isDirectReferenceCacheEntriesEnabled()
           
 boolean isFlushBeforeCompletionEnabled()
           
 boolean isGetGeneratedKeysEnabled()
           
 boolean isIdentifierRollbackEnabled()
           
 boolean isInitializeLazyStateOutsideTransactionsEnabled()
           
 boolean isJdbcBatchVersionedData()
           
 boolean isJtaTrackByThread()
           
 boolean isMinimalPutsEnabled()
           
 boolean isNamedQueryStartupCheckingEnabled()
           
 boolean isOrderInsertsEnabled()
           
 boolean isOrderUpdatesEnabled()
           
 boolean isQueryCacheEnabled()
           
 boolean isScrollableResultSetsEnabled()
           
 boolean isSecondLevelCacheEnabled()
           
 boolean isSessionFactoryNameAlsoJndiName()
           
 boolean isStatisticsEnabled()
           
 boolean isStrictJPAQLCompliance()
           
 boolean isStructuredCacheEntriesEnabled()
           
 boolean isWrapResultSetsEnabled()
           
 void setBaselineSessionEventsListenerBuilder(BaselineSessionEventsListenerBuilder baselineSessionEventsListenerBuilder)
           
 void setCheckNullability(boolean checkNullability)
           
 void setDirectReferenceCacheEntriesEnabled(boolean directReferenceCacheEntriesEnabled)
           
 void setImportFiles(String importFiles)
           
 void setJtaTrackByThread(boolean jtaTrackByThread)
           
 
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)

getDefaultSchemaName

public String getDefaultSchemaName()

getDefaultCatalogName

public String getDefaultCatalogName()

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

getSessionFactoryName

public String getSessionFactoryName()

isSessionFactoryNameAlsoJndiName

public boolean isSessionFactoryNameAlsoJndiName()

isAutoCreateSchema

public boolean isAutoCreateSchema()

isAutoDropSchema

public boolean isAutoDropSchema()

isAutoUpdateSchema

public boolean isAutoUpdateSchema()

getMaximumFetchDepth

public Integer getMaximumFetchDepth()

getRegionFactory

public RegionFactory getRegionFactory()

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

isAutoCloseSessionEnabled

public boolean isAutoCloseSessionEnabled()

getConnectionReleaseMode

public ConnectionReleaseMode getConnectionReleaseMode()

getQueryTranslatorFactory

public QueryTranslatorFactory getQueryTranslatorFactory()

isWrapResultSetsEnabled

public boolean isWrapResultSetsEnabled()

isOrderUpdatesEnabled

public boolean isOrderUpdatesEnabled()

isOrderInsertsEnabled

public boolean isOrderInsertsEnabled()

isStructuredCacheEntriesEnabled

public boolean isStructuredCacheEntriesEnabled()

isDirectReferenceCacheEntriesEnabled

public boolean isDirectReferenceCacheEntriesEnabled()

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

getDefaultNullPrecedence

public NullPrecedence getDefaultNullPrecedence()

isCheckNullability

public boolean isCheckNullability()

setCheckNullability

public void setCheckNullability(boolean checkNullability)

getJtaPlatform

public JtaPlatform getJtaPlatform()

getMultiTenancyStrategy

public MultiTenancyStrategy getMultiTenancyStrategy()

isInitializeLazyStateOutsideTransactionsEnabled

public boolean isInitializeLazyStateOutsideTransactionsEnabled()

getMultiTableBulkIdStrategy

public MultiTableBulkIdStrategy getMultiTableBulkIdStrategy()

getBatchFetchStyle

public BatchFetchStyle getBatchFetchStyle()

setDirectReferenceCacheEntriesEnabled

public void setDirectReferenceCacheEntriesEnabled(boolean directReferenceCacheEntriesEnabled)

isJtaTrackByThread

public boolean isJtaTrackByThread()

setJtaTrackByThread

public void setJtaTrackByThread(boolean jtaTrackByThread)

setBaselineSessionEventsListenerBuilder

public void setBaselineSessionEventsListenerBuilder(BaselineSessionEventsListenerBuilder baselineSessionEventsListenerBuilder)

getBaselineSessionEventsListenerBuilder

public BaselineSessionEventsListenerBuilder getBaselineSessionEventsListenerBuilder()


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