Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 95556 invoked from network); 10 Dec 2009 17:51:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Dec 2009 17:51:27 -0000 Received: (qmail 52911 invoked by uid 500); 10 Dec 2009 17:51:27 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 52851 invoked by uid 500); 10 Dec 2009 17:51:26 -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 52841 invoked by uid 99); 10 Dec 2009 17:51:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 17:51:26 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists+1214986160035-208411@n2.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; Thu, 10 Dec 2009 17:51:24 +0000 Received: from jim.nabble.com ([192.168.236.80]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NInAN-0007hy-HZ for users@openjpa.apache.org; Thu, 10 Dec 2009 09:51:03 -0800 Date: Thu, 10 Dec 2009 09:51:03 -0800 (PST) From: Pinaki Poddar To: users@openjpa.apache.org Message-ID: <1260467463538-4146760.post@n2.nabble.com> In-Reply-To: References: <1B67ECC2-5E99-485A-815F-3C71E9A16A53@novlog.com> <12D996978341E849B21C51CC97F4771D01FAA44E@mail3.oams.com> <34A39AC5-3E73-42D0-A7CD-2C39592801A2@novlog.com> <5FAE6D4B-6F14-46A0-899A-9EEF271154AF@novlog.com> <014E3069-732E-438C-972F-723E836A8388@SUN.com> <1260416451945-4143547.post@n2.nabble.com> Subject: Re: Fetch plan question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Pinaki Poddar Hi Daryl, > I posted a unit test on 11/18 here but didn't draw any interest. I can not find the unit test. Please let me know where it is exactly. Is there a JIRA for it? If not, please create -- whatever it is, an AOBE is a bug. Daryl Stultz wrote: > > On Wed, Dec 9, 2009 at 10:40 PM, Pinaki Poddar wrote: > >> >> > Wow, that fetchPlan API is just far more powerful than I thought. >> >> That is good to know :) >> > > Pinaki, I had been using fetch plan for a while until I ran into a nasty, > unexplainable error. > > java.lang.ArrayIndexOutOfBoundsException: 2 > at > org.apache.openjpa.meta.ClassMetaData.getExtraFieldDataIndex(ClassMetaData.java:859) > at > org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreManager.java:358) > at > org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.java:278) > at > org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:111) > > I had to abandon its usage (reverting to a single level left join fetch in > my queries). I posted a unit test on 11/18 here but didn't draw any > interest. I can't say for sure it's a bug in OpenJPA, but you see the > stack > trace. It's not a super simple test case, but perhaps you can take a look > at > it and give me some tips for isolating the problem. > > Thanks. > > -- > Daryl Stultz > _____________________________________ > 6 Degrees Software and Consulting, Inc. > http://www.6degrees.com > mailto:daryl@6degrees.com > > ----- Pinaki -- View this message in context: http://n2.nabble.com/Fetch-plan-question-tp4117231p4146760.html Sent from the OpenJPA Users mailing list archive at Nabble.com.