@Deprecated public abstract class SqlMapClientDaoSupport extends org.springframework.dao.support.DaoSupport
Instead of a plain SqlMapClient, you can also pass a preconfigured SqlMapClientTemplate instance in. This allows you to share your SqlMapClientTemplate configuration for all your DAOs, for example a custom SQLExceptionTranslator to use.
setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient),
setSqlMapClientTemplate(egovframework.rte.psl.orm.ibatis.SqlMapClientTemplate),
egovframework.rte.pls.orm.ibatis.SqlMapClientTemplate,
egovframework.rte.pls.orm.ibatis.SqlMapClientTemplate#setExceptionTranslator| Constructor and Description |
|---|
SqlMapClientDaoSupport()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDaoConfig()
Deprecated.
|
DataSource |
getDataSource()
Deprecated.
Return the JDBC DataSource used by this DAO.
|
com.ibatis.sqlmap.client.SqlMapClient |
getSqlMapClient()
Deprecated.
Return the iBATIS Database Layer SqlMapClient that this template works with.
|
SqlMapClientTemplate |
getSqlMapClientTemplate()
Deprecated.
Return the SqlMapClientTemplate for this DAO,
pre-initialized with the SqlMapClient or set explicitly.
|
void |
setDataSource(DataSource dataSource)
Deprecated.
Set the JDBC DataSource to be used by this DAO.
|
void |
setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
Deprecated.
Set the iBATIS Database Layer SqlMapClient to work with.
|
void |
setSqlMapClientTemplate(SqlMapClientTemplate sqlMapClientTemplate)
Deprecated.
Set the SqlMapClientTemplate for this DAO explicitly,
as an alternative to specifying a SqlMapClient.
|
public final void setDataSource(DataSource dataSource)
public final DataSource getDataSource()
public final void setSqlMapClient(com.ibatis.sqlmap.client.SqlMapClient sqlMapClient)
public final com.ibatis.sqlmap.client.SqlMapClient getSqlMapClient()
public final void setSqlMapClientTemplate(SqlMapClientTemplate sqlMapClientTemplate)
public final SqlMapClientTemplate getSqlMapClientTemplate()
protected final void checkDaoConfig()
checkDaoConfig in class org.springframework.dao.support.DaoSupportCopyright © 2015. All rights reserved.