public abstract class BaseDao extends Object implements SpringJdbcDao, MybatisDao, HibernateDao
| 构造器和说明 |
|---|
BaseDao() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations |
getDao()
Users should use this method to get a NamedParameterJdbcOperations to call its statement methods
This is NamedParameterJdbcOperations is managed by spring.
|
org.hibernate.Session |
getSession()
Users should use this method to get a Session to call its statement methods
This is Session is managed by spring.
|
org.apache.ibatis.session.SqlSession |
getSqlSession()
Users should use this method to get a SqlSession to call its statement methods
This is SqlSession is managed by spring.
|
protected Logs log
public org.hibernate.Session getSession()
HibernateDaogetSession 在接口中 HibernateDaopublic org.apache.ibatis.session.SqlSession getSqlSession()
MybatisDaogetSqlSession 在接口中 MybatisDaopublic org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations getDao()
SpringJdbcDaogetDao 在接口中 SpringJdbcDaoCopyright © 2015 jiucai.org. All rights reserved.