Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在一个 grails 应用程序中,我必须创建一堆映射到一个非常旧的数据库的 grails 域类。
这个非常古老的数据库正在为表和列使用许多“时髦”的不可读名称。 这些表包含(太)经常(太多)列。
我正在考虑对所有关系使用静态映射,并为列名使用 JPA 注释(几乎所有列都需要重命名,映射部分将是大象)
这种混合是可能的吗? 如果是,这是我必须避免的事情吗?
看看这个: http ://www.ibm.com/developerworks/library/j-grails07158/index.html