Juan Carlos Hipolito Castañeda [https://community.jboss.org/people/juank] 
created the discussion

"how can i connect two differents data base with jndi hibernate"

To view the discussion, visit: https://community.jboss.org/message/716341#716341

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/716341#716341]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to