开发者

Liquibase beginner: making a ManyToMany association bidirectional

I am using Hibernate w开发者_运维问答ith JPA annotations. I have a one-directional many-to-many association that I intend to make bi-directional.

The database already contains some data. I'm thinking of using Liquibase to do the tables' update. Can someone give me some insight as to the type of changelog I have to write?


Converting unidirectional many-to-many relationship to bidirectional doesn't require any database schema changes. You only need to change your classes and their mapping.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜