Very nice. Thanks all!
>>> [EMAIL PROTECTED] 2005-07-14 11:54:24 AM >>> Hibernate has Criteria objects: http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html and query by example: http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html#querycriteria-examples Eelco Jonathan Carlson wrote: >I am a Cayenne user but I'd like some feedback on Hibernate. > >Cayenne has a really nice Java interfact to allow dynamic adding of >qualifiers (WHERE or AND clauses) and orderings to a basic cayenne >SelectQuery. > >For example: (Finds all users with address with city of "New York" born >after today ;-) >SelectQuery q = new SelectQuery(User.class); >q.addQualifier(ExpressionFactory.greaterOrEqualExp("dateOfBirth", new >Date()); >q.addQualifier(ExpressionFactory.matchExp("address.city", "New York"); > >Does Hibernate have anything similar? I didn't see anything quite like >this on a quick perusal of their user manual, but I could easily have >missed it. Hibernate's query language seems more query language >(string) driven. > >Thanks! > >- Jonathan > > > >______________________________________________________________________ >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom they >are addressed. If you have received this email in error please notify >the system manager. > >Katun Corporation -- www.katun.com >_____________________________________________________________________ > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Wicket-user mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Katun Corporation -- www.katun.com _____________________________________________________________________ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
