• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Help] Hibernate composite key plus foreign key with cascade insert.

 
dhaval yoganandi
Ranch Hand
Posts: 35
Android Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I've required some mappings where I've three fields in composite key. One of the three field is foreign key to some other table. Now, I want cascade insert and update on that foreign key (plus composite key) field.



Here, field2 is foreign key plus composite key. Now I want it to be cascade insert and update. How can I do that?

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic