@OneToMany如果不加@JoinColumn,系统会自动在主从表中增加一个中间表。 主表:. @Entity(name = "Post") public class Post { @Id @GeneratedValue ...
確定! 回上一頁