• 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

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.
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!