You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/06/01 13:53:04 UTC
[jira] [Commented] (DELTASPIKE-1258) skip flush with one
EntityManager
[ https://issues.apache.org/jira/browse/DELTASPIKE-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033014#comment-16033014 ]
ASF subversion and git services commented on DELTASPIKE-1258:
-------------------------------------------------------------
Commit e6b119c708bd684c7800faa5c86c1aafb110d723 in deltaspike's branch refs/heads/master from [~gpetracek]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=e6b119c ]
DELTASPIKE-1258 skip #flush before #commit with one active EntityManager
> 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: Gerhard Petracek
> 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.3.15#6346)