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 8D36011146 for ; Mon, 11 Aug 2014 18:38:48 +0000 (UTC) Received: (qmail 30710 invoked by uid 500); 11 Aug 2014 18:38:48 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 30665 invoked by uid 500); 11 Aug 2014 18:38:48 -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 30652 invoked by uid 99); 11 Aug 2014 18:38:48 -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:38:48 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of curtisr7@gmail.com designates 209.85.214.169 as permitted sender) Received: from [209.85.214.169] (HELO mail-ob0-f169.google.com) (209.85.214.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2014 18:38:21 +0000 Received: by mail-ob0-f169.google.com with SMTP id nu7so6418805obb.0 for ; Mon, 11 Aug 2014 11:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IQH8hlTrHTP/x0Z/+9ppR9yATj9K4yUqiHJAHiEFYys=; b=wEXJOYQa6Xq9kk9zAygLh7y2w7ZbBfBTQ3/vvU/9hFSXjTkuKAzhkaLnmGQdUZ3bYi /kFshaifT3RamkS0ATZOyH3h6GESZO0XO+//MGW8hFdsCSx3ki/5D+zgBnmoVVxKdDoC q6oks8XxT4F6masrmkgAbdo2V1RePHFu7siU7RIgpBKF6lnzxVECg6OEl6DeYFe+73qI tHZySnP3nALK0wRp0Vj8xWsJuSkan9m/X0u37YFp/q/mEWP5gPjInTsaIM6OcGwEpvy1 ZySL2KTx43zbJHuWX5VuX/o8foxnJvKNAmTe6ALQF0ROOzS8ugp0rwPC5zlwn94shTc+ BGhg== MIME-Version: 1.0 X-Received: by 10.60.81.196 with SMTP id c4mr4301296oey.86.1407782300303; Mon, 11 Aug 2014 11:38:20 -0700 (PDT) Received: by 10.60.145.99 with HTTP; Mon, 11 Aug 2014 11:38:20 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Aug 2014 13:38:20 -0500 Message-ID: Subject: Re: Container Managed EntityManager - is there a chance to control flush calls ? From: Rick Curtis To: users Content-Type: multipart/alternative; boundary=047d7b41812bee48d305005edbb0 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b41812bee48d305005edbb0 Content-Type: text/plain; charset=ISO-8859-1 Nothing immediately comes to my mind. Perhaps a better explanation of what you are trying to do will expose some other solution. One question though, what is currently driving the unwanted flush() calls? Thanks, Rick On Mon, Aug 11, 2014 at 1:24 PM, Christoph Weiss wrote: > 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 > -- *Rick Curtis* --047d7b41812bee48d305005edbb0--