|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibatis.dao.client.template.DaoTemplate com.ibatis.dao.client.template.JdbcDaoTemplate
A DaoTemplate for JDBC implementations that provides a convenient method to access the JDBC Connection.
Use this template for both JDBC and JTA transaction managers. It can also be used for any transaction manager that supports normal JDBC connections, including iBATIS SQL Maps and Hibernate.
Field Summary |
Fields inherited from class com.ibatis.dao.client.template.DaoTemplate |
daoManager |
Constructor Summary | |
JdbcDaoTemplate(DaoManager daoManager)
The DaoManager that manages this Dao instance will be passed in as the parameter to this constructor automatically upon instantiation. |
Method Summary | |
protected java.sql.Connection |
getConnection()
Gets the JDBC Connection associated with the current DaoTransaction that this Dao is working under. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JdbcDaoTemplate(DaoManager daoManager)
daoManager
- Method Detail |
protected java.sql.Connection getConnection()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |