[jboss-user] [Datasource Configuration] - Re: You have not defined a jta-data-source for a JTA enabled persistence

Wolf-Dieter Fink do-not-reply at jboss.com
Thu Apr 14 03:05:50 EDT 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: You have not defined a jta-data-source for a JTA enabled persistence"

To view the discussion, visit: http://community.jboss.org/message/599956#599956

--------------------------------------------------------------
You should add the following:
<persistence-unit name="RAEjb">
<jta-data-source>java:/RaOracleDs</jta-data-source>
<properties>
  <property name="hibernate.hbm2ddl.auto" value="validate" />
</properties>

properties section might be not necessary if you don't want to validate or set special hibernate settings
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110414/68e0bd8c/attachment.html 


More information about the jboss-user mailing list