Monday, April 23, 2012

Hql "in" statement doesn't work with an @ElementCollection



I have a class collection property with @ElementCollection and @Enumerated(EnumType.ORDINAL)

I am trying to perform an in statement on that collection however in the generated sql i get this -> {non-qualified-property-ref} in (?)



I might be doing something wrong while creating the hql itself. Could it be because the elements are actually enum values ?



Thanks,
Peter





No comments:

Post a Comment