2022年12月8日
摘要: 这样写,不知道要不要写字段类型 @Column(name = "version",columnDefinition = " comment '版本'") 阅读全文
posted @ 2022-12-08 11:21 影子BLH 阅读(18) 评论(0) 推荐(0)
摘要: 当你使用了两个@Id的时候,就一定要使用jpa的联合主键方法规范,注:实体类不会限制@Id的数量写一万个也不会报错 @Entity @Table(name = "download_info_notid") @IdClass(DownloadURLPK.class) public class Down 阅读全文
posted @ 2022-12-08 11:16 影子BLH 阅读(112) 评论(0) 推荐(0)