public class SpringSQLSessionFactoryImpl
extends br.com.anteros.persistence.session.AbstractSQLSessionFactory
AbstractSQLSessionFactory de sessões Anteros para uso com Spring.| Constructor and Description |
|---|
SpringSQLSessionFactoryImpl(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.session.context.CurrentSQLSessionContext |
buildCurrentSessionContext() |
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() |
br.com.anteros.persistence.transaction.TransactionManagerLookup |
getTransactionManagerLookup() |
br.com.anteros.persistence.session.SQLSession |
openSession() |
br.com.anteros.persistence.session.SQLSession |
openSession(Connection connection) |
generateDDL, generateDDL, getBatchSize, getConfiguration, getDatasource, getDataSource, getDialect, getEntityCacheManager, getLockTimeout, getQueryTimeout, getShowSql, isFormatSql, isShowSql, isUseBeanValidation, onAfterExecuteCommit, onAfterExecuteRollback, onBeforeExecuteCommit, onBeforeExecuteRollback, setConfiguration, setConfigurationClientInfo, setDatasource, setDataSource, setDialect, setEntityCacheManager, setFormatSql, setLockTimeout, setQueryTimeout, setShowSql, setUseBeanValidation, toStringpublic SpringSQLSessionFactoryImpl(br.com.anteros.persistence.metadata.EntityCacheManager entityCacheManager,
DataSource dataSource,
br.com.anteros.persistence.session.configuration.SessionFactoryConfiguration configuration)
throws Exception
Exceptionprotected br.com.anteros.persistence.session.context.CurrentSQLSessionContext buildCurrentSessionContext()
throws Exception
buildCurrentSessionContext in class br.com.anteros.persistence.session.AbstractSQLSessionFactoryExceptionpublic br.com.anteros.persistence.session.SQLSession getCurrentSession()
throws Exception
getCurrentSession in interface br.com.anteros.persistence.session.SQLSessionFactorygetCurrentSession in class br.com.anteros.persistence.session.AbstractSQLSessionFactoryExceptionpublic void beforeGenerateDDL(br.com.anteros.persistence.session.SQLSession session)
throws Exception
beforeGenerateDDL in class br.com.anteros.persistence.session.AbstractSQLSessionFactoryExceptionpublic void afterGenerateDDL(br.com.anteros.persistence.session.SQLSession session)
throws Exception
afterGenerateDDL in class br.com.anteros.persistence.session.AbstractSQLSessionFactoryExceptionpublic br.com.anteros.persistence.session.SQLSession openSession()
throws Exception
Exceptionprotected br.com.anteros.persistence.transaction.TransactionFactory getTransactionFactory()
getTransactionFactory in class br.com.anteros.persistence.session.AbstractSQLSessionFactoryprotected br.com.anteros.persistence.transaction.TransactionFactory buildTransactionFactory()
throws Exception
Exceptionpublic br.com.anteros.persistence.transaction.TransactionManagerLookup getTransactionManagerLookup()
throws Exception
getTransactionManagerLookup in class br.com.anteros.persistence.session.AbstractSQLSessionFactoryExceptionpublic TransactionManager getTransactionManager() throws Exception
getTransactionManager in class br.com.anteros.persistence.session.AbstractSQLSessionFactoryExceptionpublic br.com.anteros.persistence.session.SQLSession openSession(Connection connection) throws Exception
ExceptionCopyright © 2017 Anteros Tecnologia. All rights reserved.