[jboss-user] [EJB 3.0] - persistence.xml: 'hibernate.session_factory_name' property n

Rhodan do-not-reply at jboss.com
Tue Dec 19 09:23:01 EST 2006


Hello,

if i try to bind the hibernate session factory to jndi via "hibernate.session_factory_name" property in the persistence.xml in my application.ear, this property will not be evaluated on deployment.

It only works, if i put these property into \jboss_home\server\default\deploy\ejb3.deployer\META-INF\persistence.properties.

Shouldn't it work with persistence.xml too ?

[Using jboss-4.0.5 EJB3 RC9]

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995003#3995003

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995003



More information about the jboss-user mailing list