org.hibernate.util

Class ExternalSessionFactoryConfig


public abstract class ExternalSessionFactoryConfig
extends java.lang.Object

Defines support for various externally configurable SessionFactory(s), for example, JMX or the JCA adapter.
Author:
Steve Ebersole

Method Summary

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

Method Details

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)