• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 35
Android VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic