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

Wolf-Dieter Fink do-not-reply at jboss.com
Wed Apr 11 05:42:15 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/729308#729308

I think it will be an issue of Tx demarcation. Depend on what connection, isolation level and DB (driver) you use the two connections are in the same or different Tx.
I'm not sure whether a no-tx-datasource will non-block read from a DB where a Tx is running with 'isolation serializable'.

So if you try to achieve a higher performance you should think about 'optimistic locking' that will be a common approach for high parallel access.

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community

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

More information about the jboss-user mailing list