Forums Register Login

java:comp/ env/HibernateSessionFactory

+Pie Number of slices to send: Send
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
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 622 times.
Similar Threads
JNDI Name format
Naming.NotFoundException
Finding resources
Lookup strings question
java:comp/env questions / doubts
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 03:59:07.