开发者

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

Let's say I have a UserAccount domain class that has a UserPreferences domain class. I do this to sepa开发者_如何学编程rate 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!


There is an

static embedded = []

It is described here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜