Re: Referential integrity constraint violation with Hibernate and @ManyToMany mapping (doesn't happen in MySQL)

2012-03-01 Thread Eugen Paraschiv
using raw SQL > > than we should be able to help you further. > > On 2012-02-27 13:43, Eugen Paraschiv wrote: > > Hi, > > I'm working with the following: > > h2 - 1.3.164 > > Hibernate - 4.1.0.Final > > I have a Role entity: > > &

Referential integrity constraint violation with Hibernate and @ManyToMany mapping (doesn't happen in MySQL)

2012-02-27 Thread Eugen Paraschiv
Hi, I'm working with the following: h2 - 1.3.164 Hibernate - 4.1.0.Final I have a Role entity: @Entity public class Role implements IEntity{ @Id @GeneratedValue( strategy = GenerationType.AUTO ) @Column( name = "ROLE_ID" ) private Long id; @ManyToMany( fetch = FetchType.EAGER