• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java:comp/ env/HibernateSessionFactory

 
Venkat dasari
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am using hiberante with BMP's. I had given the name for the session factory in the hibernate.cfg.xml. as java:comp/env/HibernateSessionFactory

i am unable to access by using this name. But when i use a plain names like HibernateSessionFactory it works... Why is it not being working when i use this java type of conventions.

please someone help me out....

Thanks and Regards,
Venkat Dasari
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic