This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Importance of ServiceRegistry in Hibernate 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Importance of ServiceRegistry in Hibernate 4" Watch "Importance of ServiceRegistry in Hibernate 4" New topic
Author

Importance of ServiceRegistry in Hibernate 4

vivek dhiman
Ranch Hand

Joined: Aug 05, 2011
Posts: 111

Hi

I am not able to understand the use of service registry in hibernate 4, why buildSessionFactory() is deprecated in hibernate4. I have gone through the jboss docs but it was not well explanatory for me.
if anyone can explain with good real scenario then it would be more clear.

Thanks
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

If you follow the 'required for' links in the following ticket you will see that a lot of things required them to do a major refactor on how they built and managed services.

https://hibernate.onjira.com/browse/HHH-5991


[How To Ask Questions][Read before you PM me]
Hanuma Deepak Muvvala
Ranch Hand

Joined: Nov 20, 2005
Posts: 158
I found this more explanatory:

https://hibernate.onjira.com/browse/HHH-2578
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Importance of ServiceRegistry in Hibernate 4
 
Similar Threads
Hibernate Validation not working.. default provider not available
Hibernate - the headder for *.hbm.xml file
New to Hibernate(ORM)
JBoss TreeCache
Use of Hibernate