Class HibernateRepository<T,ID extends Serializable>
java.lang.Object
dev.relism.flash.ext.data.core.RepositorySupport<T,ID>
dev.relism.flash.ext.data.core.Repository<T,ID>
dev.relism.flash.ext.data.hibernate.HibernateRepository<T,ID>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longdoCount()protected voidprotected intdoDeleteAll(Spec<T> spec) protected voiddoDeleteById(ID id) protected booleandoExistsById(ID id) doFindById(ID id) doFindPage(Query<T> query) protected Tprotected Tprotected intdoUpdateAll(Spec<T> spec, T patch) protected <R> List<R> protected intprotected org.hibernate.Sessionsession()Methods inherited from class dev.relism.flash.ext.data.core.Repository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findById, findOne, findPage, findPage, findPage, save, saveAll, update, updateAllMethods inherited from class dev.relism.flash.ext.data.core.RepositorySupport
roQuery, rwQuery, tx
-
Constructor Details
-
HibernateRepository
-
-
Method Details
-
session
protected org.hibernate.Session session() -
doFindById
- Specified by:
doFindByIdin classRepository<T,ID extends Serializable>
-
doFind
- Specified by:
doFindin classRepository<T,ID extends Serializable>
-
doFindOne
- Specified by:
doFindOnein classRepository<T,ID extends Serializable>
-
doFindPage
- Specified by:
doFindPagein classRepository<T,ID extends Serializable>
-
doExistsById
- Specified by:
doExistsByIdin classRepository<T,ID extends Serializable>
-
doCount
protected long doCount()- Specified by:
doCountin classRepository<T,ID extends Serializable>
-
doSave
- Specified by:
doSavein classRepository<T,ID extends Serializable>
-
doSaveAll
- Specified by:
doSaveAllin classRepository<T,ID extends Serializable>
-
doUpdate
- Specified by:
doUpdatein classRepository<T,ID extends Serializable>
-
doDelete
- Specified by:
doDeletein classRepository<T,ID extends Serializable>
-
doDeleteById
- Specified by:
doDeleteByIdin classRepository<T,ID extends Serializable>
-
doDeleteAll
- Specified by:
doDeleteAllin classRepository<T,ID extends Serializable>
-
doUpdateAll
- Specified by:
doUpdateAllin classRepository<T,ID extends Serializable>
-
hql
-
hql
-
hqlMutate
-
entityType
-