[
https://issues.apache.org/jira/browse/OPENJPA-2312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/OPENJPA-2312
> 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: http://www.atlassian.com/software/jira