• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

One to many and one to one, same enity same class

 
Bob Smitheeeee
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Grails, what's the correct way to map this?





 
Bob Smitheeeee
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Update: the above does work, I had an error in bootstrap.groovy that was keeping the schema from being generated in thed DB. I have to say that groovy error messages are pretty sparse and hard to decipher. Seems like dynamic languages in general have less helpful error reporting imo. Although I've only used jython much before groovy.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic