• Post Reply Bookmark Topic Watch Topic
  • New Topic

FK not feeded by JPA  RSS feed

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I use jpa with hibernate

I use IdCass for a composite key.




Save code




When Samplings is saved, samples is saved but sampling_id  and sampling_year are empty


any idea?
 
The City calls upon her steadfast protectors. Now for a tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!