File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Groovy and the fly likes One to many and one to one, same enity same class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "One to many and one to one, same enity same class" Watch "One to many and one to one, same enity same class" New topic
Author

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

Bob Smitheeeee
Greenhorn

Joined: Jul 26, 2012
Posts: 5
Using Grails, what's the correct way to map this?





Bob Smitheeeee
Greenhorn

Joined: Jul 26, 2012
Posts: 5
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.
 
jQuery in Action, 2nd edition
 
subject: One to many and one to one, same enity same class
 
Similar Threads
jsp&java mail :How to send email to multiple users ?
toString with Character Array
Cascading problem
Some questions about Cade and Roberts' case study
Struts2 have issue to display JPA proxy objects