1. 首页
  2. 数据库
  3. 其它
  4. spring data jpa postgresql:弹簧数据jpa postgresql 源码

spring data jpa postgresql:弹簧数据jpa postgresql 源码

上传者: 2021-04-20 05:01:08上传 ZIP文件 126KB 热度 19次
Hibernate,Kotlin没有可空ID属性 Hibernate实体ID ID Kotlin Nullable타입을지정해줘야다。 @Table(name = " GRP_GROUP " ) @Entity(name = " Group " ) class Group ( @Id @GeneratedValue(strategy = GenerationType . SEQUENCE , generator = " SEQ_GROUP " ) @SequenceGenerator(name = " SEQ_GROUP " , sequenceName = " SEQ_GROUP " , allocationSize = 1 ) @Column(name = " GROUP_KEY " , unique = true , nullable = false
用户评论