I too am getting this error on a @ManyToMany JPA annotation. I am using Hibernate 4.1.6.Final.
The mapping is a relatively simple mapping, and I have ensured that the hashCode() and equals() are implemented, as per the Hibernate documentation. The ManyToMany container is a Set<T> and the data access strategy is via JPARepository feature of Spring Data JPA 1.1.0.FINAL.
Is there a workaround for the issue? I get the same error, even if I do not use the Spring Data Repository methods, but directly use the EntityManager from within a @Repository component.
Regards
Amarjeet
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
I too am getting this error on a @ManyToMany JPA annotation. I am using Hibernate 4.1.6.Final.
The mapping is a relatively simple mapping, and I have ensured that the hashCode() and equals() are implemented, as per the Hibernate documentation. The ManyToMany container is a Set<T> and the data access strategy is via JPARepository feature of Spring Data JPA 1.1.0.FINAL.
Is there a workaround for the issue? I get the same error, even if I do not use the Spring Data Repository methods, but directly use the EntityManager from within a @Repository component.
Regards
Amarjeet