Two Laptop Bag*
The moose likes Object Relational Mapping and the fly likes Hibernate CreateCriteria to Spring Criteria Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate CreateCriteria to Spring Criteria" Watch "Hibernate CreateCriteria to Spring Criteria" New topic
Author

Hibernate CreateCriteria to Spring Criteria

paul king
Greenhorn

Joined: May 23, 2006
Posts: 12
I have just implemented Spring into my application and I have a Hibernate Criteria Object which I use to return an arraylist of objects dependant upon what I add to that criteria.

How do I do the same thing in Spring? I know there is a 'findByCriteria' method but this takes DetachedCriteria and I'm not sure what any of this is, whethere this is right and if so how to use it.

Any examples or alternatives etc. is much appreciated.

Cheers
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Sounds like a Spring question. Moving...


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate CreateCriteria to Spring Criteria
 
Similar Threads
confusion?
Spring is a implementation only ?
Hibernate Newbie, help on queries that do some grouping
Spring and Hibernate ... i am confuse
Hibernate CreateCriteria to Spring Criteria