public abstract class SQLDAO extends java.lang.Object
Constructor and Description |
---|
SQLDAO() |
Modifier and Type | Method and Description |
---|---|
org.springframework.transaction.support.TransactionTemplate |
getTransactionTemplate()
Note: the template is shared amongst all instances that subclass SQLDAO.
|
void |
setDataSource(javax.sql.DataSource dataSource) |
void |
setTnxManager(org.springframework.jdbc.datasource.DataSourceTransactionManager tnxManager) |
public SQLDAO()
@Autowired public void setDataSource(javax.sql.DataSource dataSource)
dataSource
- @Autowired public void setTnxManager(org.springframework.jdbc.datasource.DataSourceTransactionManager tnxManager)
tnxManager
- public org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()
Copyright © 2015 Tampere University of Technology, Pori Department.