Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

OneToMany relationship  RSS feed

 
Will Myers
Ranch Hand
Posts: 398
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I need some help in mapping a relationship...

my tables look like:



I'm trying to map the CurrencyHolidays as a set inside the Currency object like so:



but this is causing an exception:



I can't change the database schema so what am i doing wrong?
 
Will Myers
Ranch Hand
Posts: 398
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so contrary to what this says you need to add



to the id column in the source entity
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!