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)

Reply via email to