Many to many mapping with auto increment Hibernate
Dilshan De Silva
posted 3 years ago
I want to add auto increment number as PK to intermediate table in M:M mapping. I used oracle db and problem is when I save object it only insert PK's of other 2 tables to intermediate table. Hibernate not calling the sequence and there for it gives the error that null value cant insert to intermediate table.
Is there way to call sequence in intermediate table?