From users-return-2445-apmail-openjpa-users-archive=openjpa.apache.org@openjpa.apache.org Tue Jul 15 17:50:17 2008 Return-Path: Delivered-To: apmail-openjpa-users-archive@locus.apache.org Received: (qmail 89303 invoked from network); 15 Jul 2008 17:50:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 17:50:17 -0000 Received: (qmail 54656 invoked by uid 500); 15 Jul 2008 17:50:17 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 54638 invoked by uid 500); 15 Jul 2008 17:50:17 -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 54627 invoked by uid 99); 15 Jul 2008 17:50:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 10:50:17 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.41.253.139] (HELO isp.logentis.net) (193.41.253.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 17:49:21 +0000 Received: from [192.168.178.26] (unknown [89.166.197.89]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by isp.logentis.net (Postfix) with ESMTP id 50EDB29EB74 for ; Tue, 15 Jul 2008 19:49:03 +0200 (CEST) Message-Id: <4FD359EF-E3E1-497A-8B09-89B9AEBDE706@logemann.org> From: Marc Logemann To: users@openjpa.apache.org In-Reply-To: <1216059328745-527706.post@n2.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: no state snapshot available on embedded mapping Date: Tue, 15 Jul 2008 19:49:04 +0200 References: <1216045354074-527331.post@n2.nabble.com> <601062EC-08B9-47CD-8D06-B45F6B8D661F@logemann.org> <1216059328745-527706.post@n2.nabble.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org Hi, the strtegy is: @Id @GeneratedValue(strategy = GenerationType.IDENTITY) String oid; I will check it with both strategies (app vs. datastore) and comment on it.... -- Marc Logemann blog http://logemannreloaded.blogspot.com privat http://www.logemann.org Am 14.07.2008 um 20:15 schrieb Pinaki Poddar: > > What is the identity strategy used by the Order.class? While > reproducing the > error, that factor *seems* to be crucial than whether there is a > embedded > field. Can you verify if there is a change in behavior if > Order.class uses > datastore vs application identity? > > > Marc Logemann-3 wrote: >> >> and yes, for the record: i changed to build time enhancement and now >> embedded entities work. Still interessted in the "why" answer. >> >> -- >> Marc Logemann >> blog http://logemannreloaded.blogspot.com >> privat http://www.logemann.org >> >> >> >> Am 14.07.2008 um 16:22 schrieb Pinaki Poddar: >> >>> >>> Hi, >>> Are you using runtime enhancement with Java 5? >>> If yes, the immediate workaround is to enhance the persistent >>> classes at >>> build-time. >>> >>> -- >>> View this message in context: >>> http://n2.nabble.com/no-state-snapshot-available-on-embedded-mapping-tp526616p527331.html >>> Sent from the OpenJPA Users mailing list archive at Nabble.com. >>> >> >> >> > > -- > View this message in context: http://n2.nabble.com/no-state-snapshot-available-on-embedded-mapping-tp526616p527706.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >