http://jira.jboss.com/jira/browse/JBAS-5171
anonymous wrote :
| Can this be considered as proper?
|
| Index:
main/org/jboss/resource/metadata/mcf/ManagedConnectionFactoryDeploymentMetaData.java
| ===================================================================
| ---
main/org/jboss/resource/metadata/mcf/ManagedConnectionFactoryDeploymentMetaData.java
(revision 69385)
| +++
main/org/jboss/resource/metadata/mcf/ManagedConnectionFactoryDeploymentMetaData.java
(working copy)
| @@ -495,7 +495,7 @@
| @ManagementProperty(name="track-connection-by-tx")
| public Boolean getTrackConnectionByTransaction()
| {
| - return trackConnectionByTransaction;
| + return getLocalTransactions() || trackConnectionByTransaction;
| }
|
Why don't you do what I did in the TxConnectionManager.
i.e. setTrackConnectionByTransaction(true) when setLocalTransactions(true)?
But anyway, we should really make transaction affinity the default
and force users to enable interleaving (see the JIRA issue and other
discussion in this forum).
JBoss5 is a good time to do that.
Most people don't understand what Interleaving is. That goes for both
users and resource adapter writers. :-)
So having it the default for XA just leads to FAQs - assuming that people
even understand what the problem is.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124823#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...