| [eclipselink-users] Collection as an argument to IN() statement |
|
Hi, I’m trying to pass a collection as an argument to a named
query IN statement, and getting an exception: “You have attempted to set a value of type class
java.util.ArrayList for parameter ids with expected type of long from query…” According to JPA 2.0 spec this should be allowed. According to this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=249224
, it should be checked in. I’m using glassfish v3 latest promoted build which uses
eclipselink M7 if I understand correctly. What am I missing? Thanks, Ori |