org.hibernate.cfg
Class SettingsFactory
java.lang.Object
org.hibernate.cfg.SettingsFactory
- All Implemented Interfaces:
- Serializable
public class SettingsFactory
- extends Object
- implements Serializable
Reads configuration properties and configures a Settings instance.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEF_CACHE_PROVIDER
public static final String DEF_CACHE_PROVIDER
SettingsFactory
protected SettingsFactory()
throws HibernateException
- Throws:
HibernateException
buildSettings
public Settings buildSettings(Properties props)
buildBytecodeProvider
protected BytecodeProvider buildBytecodeProvider(String providerName)
createQueryCacheFactory
protected QueryCacheFactory createQueryCacheFactory(Properties properties)
createCacheProvider
protected CacheProvider createCacheProvider(Properties properties)
createQueryTranslatorFactory
protected QueryTranslatorFactory createQueryTranslatorFactory(Properties properties)
createBatcherFactory
protected BatcherFactory createBatcherFactory(Properties properties,
int batchSize)
createConnectionProvider
protected ConnectionProvider createConnectionProvider(Properties properties)
createTransactionFactory
protected TransactionFactory createTransactionFactory(Properties properties)
createTransactionManagerLookup
protected TransactionManagerLookup createTransactionManagerLookup(Properties properties)