From dev-return-10873-archive-asf-public=cust-asf.ponee.io@cayenne.apache.org Tue Mar 6 23:01:46 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E1A89180652 for ; Tue, 6 Mar 2018 23:01:45 +0100 (CET) Received: (qmail 54501 invoked by uid 500); 6 Mar 2018 22:01:45 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 54479 invoked by uid 99); 6 Mar 2018 22:01:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2018 22:01:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BB9921A0F62 for ; Tue, 6 Mar 2018 22:01:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.869 X-Spam-Level: * X-Spam-Status: No, score=1.869 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id gYzH_pprKwd1 for ; Tue, 6 Mar 2018 22:01:42 +0000 (UTC) Received: from sonic302-22.consmr.mail.ne1.yahoo.com (sonic302-22.consmr.mail.ne1.yahoo.com [66.163.186.148]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1488D5F2F1 for ; Tue, 6 Mar 2018 22:01:41 +0000 (UTC) X-YMail-OSG: GdZbswYVM1kShKzOhL_ULC.8XF.HGY_zvy.wfOJXC9dOr3SZ2y847AtPh9cIUiW ._oUE1ZpMLFl9bIaO3IaWgFJCNENDu_CJ2mIO03MWGnCRg.j1qrR1wQhJemyzSgYorzGATnk01Gw s_9.3YbDlmdZ62P2u3.pitw_VRBnPRT5zC46YBNaAdbEto_9YAK6QZB1911c8gRZwis2omZ_D8sR Zny6nIz8sviwIujeVwO.lznWkXSdoCRleuC_yrF3XTMvfNK_P2ocf0FiIq8wGCGYk75QVJSOD1FU 13UX7czcjNe93BPuB9ypRDmwV28OvrxhDIA7WZEvB9yspW5K1abz1S08kvAF4qo4JxNNp2GY0Izf _boBz7GZ7kwjwUAPcqyH6uL2PggYeo6.p0G3R_OBFumOd1mwRqdJDbPKe9ArjrDn2X9qmRdfqrFz QwOrzNYog0cOF8p409tLq0zxdehEdhbuxorp0Y.BfYunWQjAvjdydXs8lGCA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Tue, 6 Mar 2018 22:01:35 +0000 Date: Tue, 6 Mar 2018 22:01:31 +0000 (UTC) From: Juan Manuel Diaz Lara To: Cayenne Development Message-ID: <419452274.5375272.1520373691173@mail.yahoo.com> Subject: Any way to execute a StoredProcedure as part of commitChanges() ? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5375271_1165266552.1520373691172" References: <419452274.5375272.1520373691173.ref@mail.yahoo.com> X-Mailer: WebService/1.1.11480 YMailNorrin Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 ------=_Part_5375271_1165266552.1520373691172 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I want to post-process after flushing my context to db, before db transacti= on commit, and, if SP fails rollback the context to the pre-commitChanges s= tate (at least retain the persistence state, just like it happens when ther= e is a db exception while flushing to the db). If not posible, I'll appreciate any direction to hack the code. Thanks. Atte. Juan Manuel D=C3=ADaz Lara ------=_Part_5375271_1165266552.1520373691172--