Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Integrating spring with JPA and hibernate

 
san krish
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you guys help me with integrating spring with JPA and hibernate?
what are the config setting in application-context.xml? what should be present in persistance.xml?My DB is oracle 10g.
I ran a JPA stand alone class and that seems to be entirely different with this integration stuff.
where doi i write the code for getting reference for entity manager n factory?
what should be present in service layer and wht should be present in DAO?
any idea or links are highly appreciated. Thanks in advance.
 
san krish
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone pleas help me with this?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!