Unable to create session object
- by Steven
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