[ https://issues.apache.org/jira/browse/DELTASPIKE-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268788#comment-16268788 ]
Mark Struberg commented on DELTASPIKE-1258: ------------------------------------------- Oki, all fine. Instead of a PersistenceException we now just get a javax.transaction.RollbackException. That was all. > skip flush with one EntityManager > --------------------------------- > > Key: DELTASPIKE-1258 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1258 > Project: DeltaSpike > Issue Type: Improvement > Components: JPA-Module > Affects Versions: 1.8.0 > Reporter: Gerhard Petracek > Assignee: Mark Struberg > Fix For: 1.8.1 > > > if there is just one active EntityManager, we don't need a #flush before the > #commit. some persistence-providers don't optimize the #commit if there was > no change after #flush. -- This message was sent by Atlassian JIRA (v6.4.14#64029)