public class SQLSessionFactoryImpl extends AbstractSQLSessionFactory
configuration, currentSessionContext, dataSource, dialect, entityCacheManager| Constructor and Description |
|---|
SQLSessionFactoryImpl(br.com.anteros.persistence.metadata.EntityCacheManager entityCacheManager,
DataSource dataSource,
br.com.anteros.persistence.session.configuration.SessionFactoryConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterGenerateDDL(br.com.anteros.persistence.session.SQLSession session) |
void |
beforeGenerateDDL(br.com.anteros.persistence.session.SQLSession session) |
protected br.com.anteros.persistence.transaction.TransactionFactory |
buildTransactionFactory() |
br.com.anteros.persistence.session.SQLSession |
getCurrentSession() |
protected br.com.anteros.persistence.transaction.TransactionFactory |
getTransactionFactory() |
TransactionManager |
getTransactionManager()
Gerenciador de transações JTA.
|
TransactionManagerLookup |
getTransactionManagerLookup()
Retorna a estratégia para fazer lookup (obter) transaction manager para JTA.
|
br.com.anteros.persistence.session.SQLSession |
openSession() |
br.com.anteros.persistence.session.SQLSession |
openSession(Connection connection) |
buildCurrentSessionContext, generateDDL, generateDDL, getBatchSize, getConfiguration, getDatasource, getDataSource, getDialect, getEntityCacheManager, getLockTimeout, getQueryTimeout, getShowSql, isFormatSql, isShowSql, onAfterExecuteCommit, onAfterExecuteRollback, onBeforeExecuteCommit, onBeforeExecuteRollback, setConfiguration, setConfigurationClientInfo, setDatasource, setDataSource, setDialect, setEntityCacheManager, setFormatSql, setLockTimeout, setQueryTimeout, setShowSql, toStringpublic SQLSessionFactoryImpl(br.com.anteros.persistence.metadata.EntityCacheManager entityCacheManager,
DataSource dataSource,
br.com.anteros.persistence.session.configuration.SessionFactoryConfiguration configuration)
throws Exception
Exceptionpublic br.com.anteros.persistence.session.SQLSession getCurrentSession()
throws Exception
getCurrentSession in interface br.com.anteros.persistence.session.SQLSessionFactorygetCurrentSession in class AbstractSQLSessionFactoryExceptionpublic void beforeGenerateDDL(br.com.anteros.persistence.session.SQLSession session)
throws Exception
beforeGenerateDDL in class AbstractSQLSessionFactoryExceptionpublic void afterGenerateDDL(br.com.anteros.persistence.session.SQLSession session)
throws Exception
afterGenerateDDL in class AbstractSQLSessionFactoryExceptionpublic br.com.anteros.persistence.session.SQLSession openSession()
throws Exception
Exceptionprotected br.com.anteros.persistence.transaction.TransactionFactory getTransactionFactory()
getTransactionFactory in class AbstractSQLSessionFactoryprotected br.com.anteros.persistence.transaction.TransactionFactory buildTransactionFactory()
throws Exception
Exceptionpublic TransactionManagerLookup getTransactionManagerLookup() throws Exception
AbstractSQLSessionFactorygetTransactionManagerLookup in class AbstractSQLSessionFactorybr.com.anteros.persistence.transaction.impl.TransactionExceptionExceptionpublic TransactionManager getTransactionManager() throws Exception
AbstractSQLSessionFactorygetTransactionManager in class AbstractSQLSessionFactoryExceptionpublic br.com.anteros.persistence.session.SQLSession openSession(Connection connection) throws Exception
ExceptionCopyright © 2017 Anteros Tecnologia. All rights reserved.