public class ConstDefDaoImpl extends BaseHibernateDao<ConstDef> implements ConstDefDao
COUNT_MODE, LIST_MODE, SCROLL_MODE
entityClass
构造器和说明 |
---|
ConstDefDaoImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
add(ConstDef def) |
void |
delete(ConstDef def) |
java.util.List<ConstDef> |
findByExample(ConstDef def)
按照例子获取对象,参数中每一个属性值将都是查询条件
|
ConstDef |
findById(java.lang.Long id) |
java.util.List<ConstDef> |
getAll()
查找表中的所有数据
|
Page |
listPage(java.lang.String hql,
int pageNo,
int pageSize) |
void |
update(ConstDef def) |
delete, delete, delete, delete, deleteObject, findBy, getQueryCount, isNotUnique, pagedQuery, pagedQuery, pagedQuery, pagedQuery, paginate, paginate, paginate, remove, removeById, saveAll, sortCriteria, update, update, update, update, update, updateAll, withoutPagination, withPagination
closeSessionIfNecessary, getSession, getSession, releaseSession
bulkUpdate, bulkUpdate, checkDaoConfig, convertHibernateAccessException, count, count, count, createHibernateTemplate, delete, delete, executeCriteria, executeCriteria, executeUniqueCriteria, find, find, find, find, find, find, findBy, findByLike, findNativeSQL, findSimpleObjects, findSimpleObjects, findUnique, findUnique, findUniqueBy, findVarargs, findWithCount, findWithCount, get, getBatchSize, getCountByCriteria, getEntityClass, getHibernateTemplate, getSessionFactory, getSimpleObject, save, savePatchAll, setHibernateTemplate, setParameters, setSessionFactory, sortCriteria, update, updatePatchAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, delete, delete, delete, deleteObject, findBy, getQueryCount, isNotUnique, pagedQuery, pagedQuery, pagedQuery, pagedQuery, paginate, paginate, paginate, remove, removeById, saveAll, update, update, update, update, update, updateAll, withoutPagination, withPagination
bulkUpdate, bulkUpdate, count, count, count, delete, delete, executeCriteria, executeCriteria, executeUniqueCriteria, find, find, find, find, find, find, findBy, findByLike, findNativeSQL, findSimpleObjects, findSimpleObjects, findUnique, findUnique, findUniqueBy, findVarargs, findWithCount, findWithCount, get, getCountByCriteria, getHibernateTemplate, getSessionFactory, getSimpleObject, save, savePatchAll, setHibernateTemplate, setSessionFactory, update, updatePatchAll
public java.util.List<ConstDef> getAll()
CTPBaseDao
getAll
在接口中 ConstDefDao
getAll
在接口中 CTPBaseDao<ConstDef>
getAll
在类中 BaseDao<ConstDef>
public Page listPage(java.lang.String hql, int pageNo, int pageSize)
listPage
在接口中 ConstDefDao
public java.util.List<ConstDef> findByExample(ConstDef def)
CTPBaseHibernateDao
findByExample
在接口中 ConstDefDao
findByExample
在接口中 CTPBaseHibernateDao<ConstDef>
findByExample
在类中 BaseHibernateDao<ConstDef>
public ConstDef findById(java.lang.Long id)
findById
在接口中 ConstDefDao
public void update(ConstDef def)
update
在接口中 ConstDefDao
public void add(ConstDef def)
add
在接口中 ConstDefDao
public void delete(ConstDef def)
delete
在接口中 ConstDefDao