atom feed7 messages in org.apache.openjpa.usersRe: Query using timestamp version field
FromSent OnAttachments
kostellodonFeb 28, 2011 9:45 pm 
Michael DickMar 1, 2011 9:50 am 
kostellodonMar 1, 2011 1:57 pm 
Rick CurtisMar 1, 2011 2:16 pm 
kostellodonMar 1, 2011 2:36 pm 
Rick CurtisMar 2, 2011 7:20 am 
Rick CurtisMar 2, 2011 1:00 pm 
Subject:Re: Query using timestamp version field
From:kostellodon (dona@citi.com)
Date:Mar 1, 2011 1:57:46 pm
List:org.apache.openjpa.users

I'm doing this query within a unit test, and am using runtime enhancement via the javaagent.

I've tried this with both 1.2.2 and 2.1.0 and see the same index out of bounds exception in both cases.

Either querying another timestamp field or removing the version annotation from the update field causes the exception to go away. Marking a field that is a Long as the version field also makes it go away, so it appears to be directly related to querying against a Timestamp version field.