[jboss-user] [Datasource Configuration] - Re: local or xa datasource

Wolf-Dieter Fink do-not-reply at jboss.com
Wed Apr 11 04:02:06 EDT 2012


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

"Re: local or xa datasource"

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

--------------------------------------------------------------
you use the same DB for both DS right?
In that case I suppose that the DB is aware that both Tx are the same.
An XA-datasource will not help, it is just a protocol to enlist more than one resource in one transaction.

You might try a no-tx datasource, see  https://community.jboss.org/docs/DOC-9328 config datasources.
Also you might rethink the design maybe you can use another isolation level, SERIALIZABLE will be very restrictive and might slow down your application.
--------------------------------------------------------------

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

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/20120411/ee91782a/attachment.html 


More information about the jboss-user mailing list