How do map 1-to-1 relationship in grails to just 1 table under the covers?

Posted by egervari on Stack Overflow See other posts from Stack Overflow or by egervari
Published on 2010-05-25T06:38:31Z Indexed on 2010/05/25 6:41 UTC
Read the original article Hit count: 285

Filed under:
|
|
|

Let's say I have a UserAccount domain class that has a UserPreferences domain class. I do this to separate the fields for organization purposes. Is there a way to tell grails/gorm that I really want it to map these domain classes to just the user_account table under the covers?

Thanks!

© Stack Overflow or respective owner

Related posts about database

Related posts about grails