|
See
HHH-4417
for a discussion. Anything that implements java.util.Collection (or Map) should be recognized as a collection for the sake of annotations processing. Hibernate ORM can prevent using such a collection if it's not able to bind it, but that should be up to it, but the type itself is a collection regardless.
I'll be submitting a patch for ORM to actually handle the cases, but this will be a dependency of that. Implementing this alone will just change the error that is received (making it more accurate, as it happens).
|