Implementations of AttributeConverter<X<Z>, Y> fail in Hibernate 4.3.0.Final (with hibernate-jpa-2.1-api 1.0.0.Final).
The following declaration fails:
But this one works:
The exception is
And it occurs occurs in AttributeConverterDefinition.java:67:
where the real type is ParameterizedTypeImpl, probably because Set<Category> is more complex than just Set.
Java SE 7, Tomcat 7.0.47, MySQL 5.6