based2 / hibernate-generic-dao

Generic DAO implementation: extendable, detailed search, remote service interface from code.google.com/p/hibernate-generic-dao
4 stars 11 forks source link

Add tests for filtering collection properties #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hibernate allows filtering on collection properties, but we don't have any 
tests for this functionality.

For example, if I filter on "residents.firstName = 'Bob'", this works in 
HQL, but does it work with this framework?

Original issue reported on code.google.com by dwolvert on 1 Dec 2008 at 10:22

GoogleCodeExporter commented 9 years ago
Actually, I don't think that does work in HQL. It may have worked in earlier 
versions 
of Hibernate. But it doesn't work in 3.3.

Original comment by dwolvert on 19 Dec 2008 at 6:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In a future release we do plan to deal with collection properties. Check out 
the blog 
entry "Filtering by collection properties" at 
http://java-generic-dao.blogspot.com

Original comment by dwolvert on 19 Dec 2008 at 6:29

GoogleCodeExporter commented 9 years ago
Filtering on collection properties with SOME, ALL, and NONE is implemented in 
0.4.2.

Original comment by dwolvert on 13 Mar 2009 at 4:20