• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Hibernate with spring

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me how we can use hibernate along with spring frame work
 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
if u got answer from any other forum tell to me also

thanks
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look this... https://equinox.dev.java.net

Luthiano Vasconcelos
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
ranger
Posts: 17344
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Better, Faster, Lighter Java from O'Reilly press there are chapters on Hibernate and Spring and how to use them together.

Mark
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Edward Kenworthy
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!