Package com.peterphi.std.guice.hibernate.dao
package com.peterphi.std.guice.hibernate.dao
-
ClassDescriptionAllows a Criteria to be wrapped as a DetachedCriteria, allowing the use of Criteria objects in subqueries without having to follow an entirely separate codepath.HibernateDao<T,
ID extends Serializable> The default implementation of a Dao for Hibernate; often it is necessary to extend this to produce richer queries
This DAO can be used in two main ways: With singleton instances of this class created for each entity (where only simple CRUD methods are required) With subclasses of this HibernateDao implementing additional queries (often with corresponding extensions to the Dao type)