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&...]