Top Description Fields Constructors Methods
org.hibernate.cfg

public Class SettingsFactory

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable, java.sql.Connection, .DatabaseMetaData, .ResultSet, .SQLException, java.util.Map, .Properties, org.slf4j.Logger, .LoggerFactory, org.hibernate.ConnectionReleaseMode, .EntityMode, .HibernateException, org.hibernate.engine.jdbc.JdbcSupport, .JdbcSupportLoader, org.hibernate.bytecode.BytecodeProvider, org.hibernate.cache.QueryCacheFactory, .RegionFactory, org.hibernate.cache.impl.NoCachingRegionFactory, org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge, org.hibernate.connection.ConnectionProvider, .ConnectionProviderFactory, org.hibernate.dialect.Dialect, org.hibernate.dialect.resolver.DialectFactory, org.hibernate.exception.SQLExceptionConverter, .SQLExceptionConverterFactory, org.hibernate.hql.QueryTranslatorFactory, org.hibernate.jdbc.BatcherFactory, .BatchingBatcherFactory, .NonBatchingBatcherFactory, org.hibernate.jdbc.util.SQLStatementLogger, org.hibernate.transaction.TransactionFactory, .TransactionFactoryFactory, .TransactionManagerLookup, .TransactionManagerLookupFactory, org.hibernate.util.PropertiesHelper, .ReflectHelper, .StringHelper

Reads configuration properties and builds a Settings instance.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
public static final String
private static final Logger
private static final long

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected BytecodeProvider
public Settings
protected BatcherFactory
createBatcherFactory(Properties properties, int batchSize)

protected ConnectionProvider
protected QueryCacheFactory
protected QueryTranslatorFactory
public static RegionFactory
createRegionFactory(Properties properties, boolean cachingEnabled)

protected TransactionFactory
protected TransactionManagerLookup
private static String
enabledDisabled(boolean value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEF_CACHE_REG_FACTORYback to summary
public static final String DEF_CACHE_REG_FACTORY
logback to summary
private static final Logger log
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

SettingsFactoryback to summary
protected SettingsFactory()

Method Detail

buildBytecodeProviderback to summary
protected BytecodeProvider buildBytecodeProvider(String providerName)
buildSettingsback to summary
public Settings buildSettings(Properties props)
createBatcherFactoryback to summary
protected BatcherFactory createBatcherFactory(Properties properties, int batchSize)
createConnectionProviderback to summary
protected ConnectionProvider createConnectionProvider(Properties properties)
createQueryCacheFactoryback to summary
protected QueryCacheFactory createQueryCacheFactory(Properties properties)
createQueryTranslatorFactoryback to summary
protected QueryTranslatorFactory createQueryTranslatorFactory(Properties properties)
createRegionFactoryback to summary
public static RegionFactory createRegionFactory(Properties properties, boolean cachingEnabled)
createTransactionFactoryback to summary
protected TransactionFactory createTransactionFactory(Properties properties)
createTransactionManagerLookupback to summary
protected TransactionManagerLookup createTransactionManagerLookup(Properties properties)
enabledDisabledback to summary
private static String enabledDisabled(boolean value)