Hello every one, how can i get the connection whit jndi hibernate, I try with the next code in "hibernate.cfg.xml"
<session-factory name="java:/hibernate/HibernateFactory">
<property name="connection.datasource">jdbc/DATA</property>
<property name="connection.datasource">jdbc/DATATWO</property>
I get error i create two differentes "hibernate.cfg.xml" and "hibernateTwo.cfg.xml"
What i missed?
Help me please, i'm new in hibernate