openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gustavo Lopes (JIRA)" <>
Subject [jira] [Updated] (OPENJPA-2312) H2 is forced to autoCommit; breaks transactions
Date Tue, 18 Dec 2012 11:30:12 GMT


Gustavo Lopes updated OPENJPA-2312:

    Attachment: details.txt

Spring conf, persistence unit and log. I insert one row in two tables, do a select, and afterwards
manually issue a rollback and and a conflicting insert. The insert fails due to a unique constraint
violation. If I proxy the single connection so that setAutoCommit(true) is suppressed, then
the insert succeeds.
> H2 is forced to autoCommit; breaks transactions
> -----------------------------------------------
>                 Key: OPENJPA-2312
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Gustavo Lopes
>         Attachments: details.txt
> DataSourceFactory::installDBDictionary() sets autocommit to TRUE on the ConfiguringConnectionDecorator
because supportsMultipleNontransactionalResultSets is true.

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:

View raw message