aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate with spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate with spring" Watch "Hibernate with spring" New topic
Author

Hibernate with spring

sajin sachidanandan
Greenhorn

Joined: Sep 28, 2004
Posts: 11
Please tell me how we can use hibernate along with spring frame work
Sundar Murthi
Ranch Hand

Joined: Mar 05, 2004
Posts: 209
hi
if u got answer from any other forum tell to me also

thanks
Luthiano Vasconcelos
Greenhorn

Joined: Jun 23, 2004
Posts: 4
Look this... https://equinox.dev.java.net

Luthiano Vasconcelos


Luthiano Vasconcelos, PMP
Edward Kenworthy
Ranch Hand

Joined: Oct 05, 2003
Posts: 66
Originally posted by sajin sachidanandan:
Please tell me how we can use hibernate along with spring frame work


There are articles about this on the, and this will surprise you, Spring web site: http://www.springframework.org
Ken Krebs
Ranch Hand

Joined: Nov 27, 2002
Posts: 451
Take a look at Spring's Petclinic sample app. It shows how easy it can be to use Hibernate (or JDBC, Apache OJB for that matter). Spring takes care of the dirty work of managing the Hibernate Session so your DAO's can consist mostly of simple one-liners. Plus, you also get the ability to do declarative transaction management without using EJB !


kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

In Better, Faster, Lighter Java from O'Reilly press there are chapters on Hibernate and Spring and how to use them together.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

It doesnt look like the original poster is following this up, but for the purpose of reference http://www.hibernate.org/110.html is a good starting point.


The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
Edward Kenworthy
Ranch Hand

Joined: Oct 05, 2003
Posts: 66
Originally posted by Mark Spritzler:
In Better, Faster, Lighter Java from O'Reilly press there are chapters on Hibernate and Spring and how to use them together.

Mark


That's a bit of lightweight introduction: it's the kind of book you read, think "hmm interesting" and then never pickup again: it's certainly no use for giving any guidance in actually using Spring and Hibernate.

Edward
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate with spring