Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 01AF5110B6 for ; Mon, 11 Aug 2014 18:25:26 +0000 (UTC) Received: (qmail 91417 invoked by uid 500); 11 Aug 2014 18:25:25 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 91340 invoked by uid 500); 11 Aug 2014 18:25:25 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 91328 invoked by uid 99); 11 Aug 2014 18:25:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2014 18:25:25 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christoph.weiss@de.ibm.com designates 195.75.94.109 as permitted sender) Received: from [195.75.94.109] (HELO e06smtp13.uk.ibm.com) (195.75.94.109) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2014 18:24:55 +0000 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 11 Aug 2014 19:24:54 +0100 Received: from d06dlp03.portsmouth.uk.ibm.com (9.149.20.15) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 11 Aug 2014 19:24:52 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 6BC6D1B08023 for ; Mon, 11 Aug 2014 19:25:43 +0100 (BST) Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s7BIOpwv35913826 for ; Mon, 11 Aug 2014 18:24:51 GMT Received: from d06av07.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7BIOpkY013713 for ; Mon, 11 Aug 2014 14:24:51 -0400 Received: from d06mc035.portsmouth.uk.ibm.com (d06mc035.portsmouth.uk.ibm.com [9.149.76.97]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s7BIOpTw013707 for ; Mon, 11 Aug 2014 14:24:51 -0400 To: users@openjpa.apache.org MIME-Version: 1.0 Subject: Container Managed EntityManager - is there a chance to control flush calls ? X-KeepSent: 1473ECEC:B99E9242-C1257D31:00637386; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0 March 08, 2013 From: Christoph Weiss Message-ID: Date: Mon, 11 Aug 2014 20:24:50 +0200 X-MIMETrack: Serialize by Router on D06MC035/06/M/IBM(Release 8.5.3FP5IF1HF3|November 07, 2013) at 11/08/2014 20:24:51, Serialize complete at 11/08/2014 20:24:51 Content-Type: multipart/alternative; boundary="=_alternative 00652481C1257D31_=" X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14081118-2966-0000-0000-000000CA9B79 X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 00652481C1257D31_= Content-Type: text/plain; charset="US-ASCII" Dear Community, We are running OpenJPa with "container managed" EntityManagers (using WebSphere Application Server). Because of technical reasons we want to explicitly control when the EntityManager executes the flush. First I thought that the parameter "FlushMode" could be a solution, but reading the documentation I understood it isn't. So is there any other way to really control when the flush is executed? Any reply is appreciated. Thanks for your help in advance! Cheers Christoph Weiss --=_alternative 00652481C1257D31_=--