JNDI in hibernate

Hi

How to configure JNDI in hibernate3 using jboss.... CAn anybody help me in this issue.

thanks

mano

[126 byte] By [mnrnjn_ranjana] at [2007-11-27 10:12:18]
# 1

You can set the jndi name in the hibernate config file, check out the hibernate docs.

-Kayaman-a at 2007-7-28 15:19:25 > top of Java-index,Java Essentials,Java Programming...
# 2

Hi

thanks for ur reply. ya i set the jndi name in hibernate.xml.Iam getting a Wrapperdatasource object . but when i try to type cast it to SessionFactory i get class cast exception . Could you plz help me in this issue

thanks

mano

mnrnjn_ranjana at 2007-7-28 15:19:25 > top of Java-index,Java Essentials,Java Programming...
# 3

Hi

Can anybody help me out in this issue

mnrnjn_ranjana at 2007-7-28 15:19:25 > top of Java-index,Java Essentials,Java Programming...