[jboss-user] [Datasource Configuration] - What means datasource attribute "jta" in Jboss 7.1.Final config?

Brand Neu do-not-reply at jboss.com
Mon Mar 26 05:34:21 EDT 2012


Brand Neu [https://community.jboss.org/people/brand-neu] created the discussion

"What means datasource attribute "jta" in Jboss 7.1.Final config?"

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

--------------------------------------------------------------
Hello,

this 3-letter-attribut is something unclear to me. If you set a new datasource within management, then default is *jta="false"*.

 http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html/deployment.html#deployingds_descriptor This description only states +Enable JTA integration (only <datasource>)+

Our JSF-project inside *persistence.xml* have

*<xmlnode prop=**"abc"*>
<persistence-unit name="MyPU" transaction-type="JTA">
    <jta-data-source>java:/My_DB_SRC</jta-data-source>
*</xmlnode>*

and all data-access is fine. 

Now, this is an opposition to jta="false", isn't ? Is MyPU now JTA or not?
When I have to set the DataSource jta = "true" ?
--------------------------------------------------------------

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

Start a new discussion in Datasource Configuration at Community
[https://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/20120326/0ec8a3b1/attachment.html 


More information about the jboss-user mailing list