Twice is not as bad as how many times this JIRA issue is committed :-) 

What is happening?

-Ard

> 
> DatabaseJournal commits twice inside a transaction, causing 
> an error with MySQL
> --------------------------------------------------------------
> -----------------
> 
>                  Key: JCR-1257
>                  URL: https://issues.apache.org/jira/browse/JCR-1257
>              Project: Jackrabbit
>           Issue Type: Bug
>           Components: clustering
>     Affects Versions: 1.3.3
>             Reporter: Dominique Pfister
> 
> 
> When committing a transaction in a clustered setup, multiple 
> records may be appended to the DatabaseJournal. After having 
> appended a record, commit() is called on the connection and 
> auto-commit mode is again enabled. Apart from not being 
> semantically correct, committing a connection that is already 
> in auto-commit mode throws an error when using MySQL as backend.
> 
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 

Reply via email to