File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes How to get session-Factory  in hibernate 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How to get session-Factory  in hibernate 4" Watch "How to get session-Factory  in hibernate 4" New topic
Author

How to get session-Factory in hibernate 4

Himanshu bisht bebo
Greenhorn

Joined: Jun 12, 2012
Posts: 16
I want to get SessionFactory object in Hibernate 4 Where I am configuring my Model class For eg Customer with annotation like @ Entity

I want to create a Object of SessionFactory not through the Dependencies Bean


thanks in Advance...
John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Himanshu,

Please check your private messages for an important administrative matter. This is not optional.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get session-Factory in hibernate 4
 
Similar Threads
Non Persistable POJO extending a persistable POJO
getting hibernate session in Struts2 (Urgent)
hibernate opensession
Problem using Hibernate with EJB's
JNDI error message