You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Thomas Darimont (JIRA)" <ji...@apache.org> on 2014/11/14 16:11:34 UTC
[jira] [Created] (OPENJPA-2544) OpenJPA should allow null value as
surrogate for an empty collection or array in queries
Thomas Darimont created OPENJPA-2544:
----------------------------------------
Summary: OpenJPA should allow null value as surrogate for an empty collection or array in queries
Key: OPENJPA-2544
URL: https://issues.apache.org/jira/browse/OPENJPA-2544
Project: OpenJPA
Issue Type: Improvement
Components: criteria
Affects Versions: 2.3.0
Reporter: Thomas Darimont
Priority: Minor
Hibernate and EclipseLink support null to be used as a surrogate for an empty collection in CriteriaQueries.
Would be great to have that in OpenJPA as well - sadly the JPA spec isn't that clear on this...
I added a test case that reproduces the issue:
https://gist.github.com/thomasdarimont/b8d4f01b0e66bcdb2560
See: shouldSupportNullValueAsASubstituateForAnEmptyParameterList
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)