use of org.eweb4j.orm.dao.select.DivPageDAOImpl in project eweb4j-framework by laiweiwei.
the class DAOFactory method getDivPageDAO.
/**
* 创建DivPageDAOImpl实例
*
* @param dsName
* 数据库配置信息Bean的名字,默认下在eweb4j-dbInfo-config.xml文件中<name></name>
* 找到这个值
* @return
*/
public static DivPageDAO getDivPageDAO(String dsName) {
DataSource ds = DataSourceWrapCache.get(dsName);
DBInfoConfigBean dcb = DBInfoConfigBeanCache.get(dsName);
return new DivPageDAOImpl(ds, dcb.getDataBaseType());
}
use of org.eweb4j.orm.dao.select.DivPageDAOImpl in project eweb4j-framework by laiweiwei.
the class DAOFactory method getDivPageDAO.
public static DivPageDAO getDivPageDAO() {
DataSource ds = DataSourceWrapCache.get();
DBInfoConfigBean dcb = DBInfoConfigBeanCache.get();
return new DivPageDAOImpl(ds, dcb.getDataBaseType());
}
Aggregations