Return-Path: Delivered-To: apmail-openjpa-users-archive@locus.apache.org Received: (qmail 90401 invoked from network); 30 Nov 2007 14:17:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2007 14:17:06 -0000 Received: (qmail 58426 invoked by uid 500); 30 Nov 2007 14:16:55 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 58407 invoked by uid 500); 30 Nov 2007 14:16:54 -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 58397 invoked by uid 99); 30 Nov 2007 14:16:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 06:16:54 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 14:16:57 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Iy6fU-0005WR-8D for users@openjpa.apache.org; Fri, 30 Nov 2007 06:16:36 -0800 Message-ID: <14063325.post@talk.nabble.com> Date: Fri, 30 Nov 2007 06:16:36 -0800 (PST) From: Sebastian Souza To: users@openjpa.apache.org Subject: Re: cant modify result list running with enhance In-Reply-To: <7262f25e0711292355g6301adf6rad34b8630efe4061@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ssouza@adinet.com.uy References: <14039249.post@talk.nabble.com> <7262f25e0711292355g6301adf6rad34b8630efe4061@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org This is the example Collection MyCollection = query.getResultList (); MyCollection.add (a); Nothing happens when enhanced is on. the element a is not added to the collection or if i do MyCollection = new ArrayList (); if query.getResultList () is null, MyCollection is null. thanks Patrick Linskey-2 wrote: > > Hi, > > What do you mean by this?Are you saying that you can't insert or > delete records in the list, or that you can't modify entries in the > list? I would expect the former regardless of using the enhancer. > > -Patrick > > On 11/29/07, Sebastian Souza wrote: >> >> I cant modify any result query list when i run my app with openjpa >> enhance, >> any suggestion? >> >> if i dont run with enhance everything its ok >> >> i run with >> -javaagent:C:\lib\apache-openjpa-1.0.0\openjpa-1.0.0.jar=addDefaultConstructor=false >> -- >> View this message in context: >> http://www.nabble.com/cant-modify-result-list-running-with-enhance-tf4901170.html#a14039249 >> Sent from the OpenJPA Users mailing list archive at Nabble.com. >> >> > > > -- > Patrick Linskey > 202 669 5907 > > -- View this message in context: http://www.nabble.com/cant-modify-result-list-running-with-enhance-tf4901170.html#a14063325 Sent from the OpenJPA Users mailing list archive at Nabble.com.