public class PartitionDAOImpl extends BaseHibernateDao<Partition> implements PartitionDAO
COUNT_MODE, LIST_MODE, SCROLL_MODE
entityClass
构造器和说明 |
---|
PartitionDAOImpl() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Partition> |
findAll() |
Partition |
get(long id) |
void |
save(Partition partition)
Persist the given transient instance, first assigning a generated
identifier.
|
void |
update(Partition partition)
Update the persistent state associated with the given identifier.
|
delete, delete, delete, delete, deleteObject, findBy, findByExample, 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, getAll, 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
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, getAll, getCountByCriteria, getHibernateTemplate, getSessionFactory, getSimpleObject, save, savePatchAll, setHibernateTemplate, setSessionFactory, update, updatePatchAll
public java.util.List<Partition> findAll()
findAll
在接口中 PartitionDAO
public void save(Partition partition)
PartitionDAO
save
在接口中 PartitionDAO
partition
- a transient instance of a persistent classpublic void update(Partition partition)
PartitionDAO
update
在接口中 PartitionDAO
partition
- a transient instance containing updated statepublic Partition get(long id)
get
在接口中 PartitionDAO