我有一个SpringBoot 2.0.1.使用spring data/jpa发布应用程序
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
但当我在Amazon Aurora数据库中进行更新时,我发现了以下错误:
2018-04-13 09:20[pool-1-thread-1]错误o.h.id.增强.表 struct .执行(148)-无法读取高值
我想保存的实体中有这个
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
我也希望避免DB在获取ID时出现任何缺陷.