Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 Oracle 标识字段(它是某种自动增量)保存到表中。但是一旦我这样做了,我就会得到一个“保存后身份不能为空”的异常?
目前不支持这种情况还是我需要特殊配置?
顺便说一句:它适用于 JPA。
是的,你的假设是正确的。Spring Data JDBC 当前不使用 Oracle 数据库标识字段。