aspose file tools
The moose likes Object Relational Mapping and the fly likes Hibernate CreateCriteria to Spring Criteria Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Hibernate CreateCriteria to Spring Criteria
 
Similar Threads
Spring is a implementation only ?
Hibernate CreateCriteria to Spring Criteria
Hibernate Newbie, help on queries that do some grouping
Spring and Hibernate ... i am confuse
confusion?