And hey - that is actually a COOL QBE API! (I normally hate QBE's ;)
List results = session.createCriteria(Parent.class) .add( Example.create(parent).ignoreCase() ) .createCriteria("child") .add( Example.create( parent.getChild() ) ) .list();
Where the Example class (if I have understood) has a strategy for choosing what fields should be used in the QBE. And one can setPropertySelector() to adapt it to their specific needs! Cool! ;)
;)
Gavin King wrote:
Dammit!!
I just comitted an entire query by example API!
I think I need help.
Must write booooook......grrrr......
I'll take a look at it tonight ,)
Could you provide a small test case with the patch ?
/max
Gavin King wrote:
I've assigned the patch to Max. He can commit it since I have gone cold turkey until the book is finished. Until then, Max is the only one allowed to commit to Hibernate core ;)
Realizing all of the great work everyone is doing for 2.1, could I slip this patch onto the radar screen for application (or rejection if need be).
Chris....
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel