The Hibernate 3 Criteria API is exceptional. I don't think there's any query that can't be represented at this point. Definately check it out.
On 7/14/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > 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 > ------------------------------------------------------- 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_idt77&alloc_id492&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
