[GLASSFISH-2484] Allow IN Expression to take in collections as parameters Created: 23/Feb/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: entity-persistence
Affects Version/s: 9.0pe
Fix Version/s: not determined

Type: Improvement Priority: Minor
Reporter: chris_delahunt Assignee: tware
Resolution: Unresolved Votes: 12
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Issuezilla Id: 2,484


For instance, the query "SELECT i FROM Person i WHERE i.address IN
using setParameter("collection",list)
where list contains multiple strings Results in
"IllegalArgumentException: You have attempted to set a value of type class
java.util.ArrayList for parameter collection with expected type of class
java.lang.String from query"

Even though the spec states that the input parameter must "be like the same
abstract schema type of the state_field_path_expression in type"
TopLink Essentials could be extended to accept a collection containing valid

This might be related to the validation done for gf GLASSFISH-136

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk change to set fix version to "not determined" where the issue is open but the value is for a released version.

Generated at Tue Mar 28 18:33:40 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.