Why not just use String.format(); to work around the issue and log a jira or
fix the code and submit it.



-----Original Message-----
From: stlecho [mailto:[email protected]] 
Sent: Friday, 28 May 2010 6:40 PM
To: [email protected]
Subject: Re: ArgumentException when using generics


Using
select r from VATRResponse r where r.message.id=?1
instead of
select r from VATRResponse r where r.message.id=:msgId
results in the same
java.lang.ArrayIndexOutOfBoundsException: 0

The  http://openjpa.208410.n2.nabble.com/file/n5112192/jpa-proto3.zip
jpa-proto3.zip  file contains the Eclipse project I'm using.
-- 
View this message in context:
http://openjpa.208410.n2.nabble.com/ArgumentException-when-using-generics-tp
5073975p5112192.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to