| It appears i must map the @Id to the main table primary key column. If i do so, all updates are done only for primary table and all secondary tables try to create new objects which in turn fail due to primary key constraints. I am using 5.2 and still has this issue. Anybody has fix or workaround for this ? |