Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1
-
Fix Version/s: 2.0.2
-
Component/s: Persistence Layer
-
Labels:None
Description
This is a patch for two items discussed on the developers mailing list:
http://www.nabble.com/GenericDaoHibernate---find-by-named-query-td14215145s2369.html
http://www.nabble.com/GenericDaoHibernate---possible-addition-td13730039s2369.html
i.e. a generic findByNamedQuery method, and the getAllDistinct method.
The patch includes a test for the findByNamedQuery method, but not the getAllDistinct, as it would involve contriving some test model classes.
Thanks for the patch!