Closed pot-mot closed 2 months ago
似乎是key与关联父属性为同一属性导致的问题,分步save同样报错:
@Test
fun test() {
val master1 = sqlClient.insert(Master {
value = "master1"
}).modifiedEntity
sqlClient.save(Slave {
value = "slave1"
masterId = master1.id
})
}
Try 0.8.160
环境:
基本实体:
此时插入报错:
复现项目: jimmer-simple-kotlin-k2.zip 运行测试即可复现