Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 99723 invoked from network); 11 Dec 2006 19:06:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2006 19:06:22 -0000 Received: (qmail 15154 invoked by uid 500); 11 Dec 2006 19:06:29 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 15110 invoked by uid 500); 11 Dec 2006 19:06:29 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 15101 invoked by uid 99); 11 Dec 2006 19:06:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 11:06:29 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ppoddar@bea.com designates 66.248.192.21 as permitted sender) Received: from [66.248.192.21] (HELO usremg01.bea.com) (66.248.192.21) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2006 11:06:19 -0800 Received: from usremr01.bea.com (mailrelay.bea.com [10.160.29.91]) by usremg01.bea.com (Switch-3.2.2/Switch-3.2.2) with ESMTP id kBBJ5vi5016518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 11 Dec 2006 11:05:57 -0800 Received: from ussjfe02.amer.bea.com (ussjfe02b.bea.com [172.16.120.56]) by usremr01.bea.com (Switch-3.2.2/Switch-3.2.2) with ESMTP id kBBJ5ttq022158 for ; Mon, 11 Dec 2006 11:05:56 -0800 Received: from repbex01.amer.bea.com ([10.160.26.98]) by ussjfe02.amer.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 11 Dec 2006 11:05:55 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Get primary key from persistent bean Date: Mon, 11 Dec 2006 11:05:40 -0800 Message-ID: <5C219175D559A64D8C2CC65E41D36856853D38@repbex01.amer.bea.com> In-Reply-To: <33E59CBC-3293-4621-9D67-AF6459CF7AF5@iq80.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Get primary key from persistent bean Thread-Index: AccdVsonbAO5/9OEQRybm2SWtPiy5gAAD/Xg From: "Pinaki Poddar" To: X-OriginalArrivalTime: 11 Dec 2006 19:05:55.0707 (UTC) FILETIME=[629B8CB0:01C71D57] X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.17.61432 X-Virus-Checked: Checked by ClamAV on apache.org > Is there a way to extract the primary key from a persistent bean using a spec JPA API or an API specific to OpenJPA? OpenJPAEntityManager.getObjectId(Object pc);=20 This is *not* available in javax.persistence.EntityManager Pinaki Poddar BEA Systems 415.402.7317=20=20 _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.