The second needs to define a tomee resource (look dynamic datasource
sample). Imo that's harder
Le 13 juin 2012 17:02, "zeeman" <[email protected]> a écrit :

> I prefer the second option using resources.xml. What value would
> openejb/Resource/nameUsed have to bind hibernate.session_factory_name in
> JNDI?
>
> Sorry, I have not used this with Tomcat before.
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Tomee-Hibernate-Session-JNDI-tp4655576p4655589.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to