• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate many to one composite primary key consisting foreign key

 
Mag Wells
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I insert x, it doesn't work, I suppose there has to be a corresponding record in Y. but I cannot insert in Y unless I commit X ?

 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!