Defines support for various externally configurable SessionFactory(s), for
example, JMX
or the JCA
adapter.
addAdditionalProperty
public final void addAdditionalProperty(String name,
String value)
addAll
protected void addAll(Properties target,
Map source)
addMapResource
public void addMapResource(String mapResource)
buildConfiguration
protected final Configuration buildConfiguration()
buildProperties
protected final Properties buildProperties()
getBatchVersionedDataEnabled
public final String getBatchVersionedDataEnabled()
getCacheProviderClass
public final String getCacheProviderClass()
getCacheProviderConfig
public String getCacheProviderConfig()
getCacheRegionPrefix
public final String getCacheRegionPrefix()
getCommentsEnabled
public final String getCommentsEnabled()
getCustomListeners
public final Map getCustomListeners()
getDefaultCatalog
public final String getDefaultCatalog()
getDefaultSchema
public final String getDefaultSchema()
getDialect
public final String getDialect()
getExcludedPropertyNames
protected Set getExcludedPropertyNames()
getExtraProperties
protected Map getExtraProperties()
getGetGeneratedKeysEnabled
public final String getGetGeneratedKeysEnabled()
getJdbcBatchSize
public final String getJdbcBatchSize()
getJdbcFetchSize
public final String getJdbcFetchSize()
getJdbcScrollableResultSetEnabled
public final String getJdbcScrollableResultSetEnabled()
getMapResources
public final String getMapResources()
getMaximumFetchDepth
public final String getMaximumFetchDepth()
getMinimalPutsEnabled
public final String getMinimalPutsEnabled()
getQueryCacheEnabled
public final String getQueryCacheEnabled()
getQuerySubstitutions
public final String getQuerySubstitutions()
getReflectionOptimizationEnabled
public final String getReflectionOptimizationEnabled()
getSecondLevelCacheEnabled
public final String getSecondLevelCacheEnabled()
getShowSqlEnabled
public final String getShowSqlEnabled()
getStreamsForBinaryEnabled
public final String getStreamsForBinaryEnabled()
setBatchVersionedDataEnabled
public final void setBatchVersionedDataEnabled(String batchVersionedDataEnabled)
setCacheProviderClass
public final void setCacheProviderClass(String cacheProviderClass)
setCacheProviderConfig
public void setCacheProviderConfig(String cacheProviderConfig)
setCacheRegionPrefix
public final void setCacheRegionPrefix(String cacheRegionPrefix)
setCommentsEnabled
public final void setCommentsEnabled(String commentsEnabled)
setCustomListener
public void setCustomListener(String type,
String listenerClass)
setCustomListeners
public void setCustomListeners(Map customListeners)
setCustomListenersAsString
public void setCustomListenersAsString(String customListenersString)
setDefaultCatalog
public final void setDefaultCatalog(String defaultCatalog)
setDefaultSchema
public final void setDefaultSchema(String defaultSchema)
setDialect
public final void setDialect(String dialect)
setGetGeneratedKeysEnabled
public final void setGetGeneratedKeysEnabled(String getGeneratedKeysEnabled)
setJdbcBatchSize
public final void setJdbcBatchSize(String jdbcBatchSize)
setJdbcFetchSize
public final void setJdbcFetchSize(String jdbcFetchSize)
setJdbcScrollableResultSetEnabled
public final void setJdbcScrollableResultSetEnabled(String jdbcScrollableResultSetEnabled)
setMapResources
public final void setMapResources(String mapResources)
setMaximumFetchDepth
public final void setMaximumFetchDepth(String maximumFetchDepth)
setMinimalPutsEnabled
public final void setMinimalPutsEnabled(String minimalPutsEnabled)
setQueryCacheEnabled
public final void setQueryCacheEnabled(String queryCacheEnabled)
setQuerySubstitutions
public final void setQuerySubstitutions(String querySubstitutions)
setReflectionOptimizationEnabled
public final void setReflectionOptimizationEnabled(String reflectionOptimizationEnabled)
setSecondLevelCacheEnabled
public final void setSecondLevelCacheEnabled(String secondLevelCacheEnabled)
setShowSqlEnabled
public final void setShowSqlEnabled(String showSqlEnabled)
setStreamsForBinaryEnabled
public final void setStreamsForBinaryEnabled(String streamsForBinaryEnabled)