通过把这个设置注释掉,我们指示Grails保持模式的原样。
By commenting out this property, we're instructing Grails to leave the schema as is.
实现类的这个注释允许您从生成的服务接口(清单5)的相应注释中重写设置。
This annotation on the implementation class allows you to override Settings from the corresponding annotation in the generated service interface (Listing 5).
因此,您需要设置joincolumn注释。
应用推荐