R2dbc Failed to update table []. Row with Id [] does not exist
使用webflux,数据库使用R2DBC需要保存数据到数据库前,自定义主键写入到数据库里面报错:Failed to update table []. Row with Id [] does not exist解决方法:实体类实现接口 Persistable重写 isNew() 方法package com.xx.message.entity.po;import lombok.*;import org.springframework.data.annotation.Id;imp
原创
2022-01-05 13:42:47 ·
1567 阅读 ·
1 评论