Unable to create session object

Posted by Steven on Stack Overflow See other posts from Stack Overflow or by Steven
Published on 2010-03-25T09:42:02Z Indexed on 2010/03/25 9:53 UTC
Read the original article Hit count: 152

Filed under:
|

hi,

i used the code

Session session = new Configuration().configure(cfgurl).buildSessionFactory().openSession() ;

to create a session. the cfgurl is of type URL and points to the hibernate.cfg.xml file of another project. The problem is it is getting hanged and unable to proceed further. What is the problem? Help

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about java