[
https://issues.apache.org/jira/browse/JCR-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Köll updated JCR-3503:
----------------------------
Status: Patch Available (was: Open)
> ConnectionHelper should not call isBatchMode() more times inside a Method
> -------------------------------------------------------------------------
>
> Key: JCR-3503
> URL: https://issues.apache.org/jira/browse/JCR-3503
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.5.3, 2.4.3
> Reporter: Claus Köll
> Assignee: Claus Köll
> Fix For: 2.6
>
> Attachments: JCR-3503.patch
>
>
> On heavy load in xa environment its possible that calling isBatchMode inside
> a Method returns different values.
> This is not good because depending on this method a connection will be closed
> or not in finally block.
> This can cause exceptions that a statment is created and while using it the
> underlying connection is closed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira