On Wed, Dec 9, 2009 at 10:40 PM, Pinaki Poddar <[email protected]> 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:[email protected]

Reply via email to