英文:
Numeric overflow error after upgrading to Spring 3.1.0 & Java 17
问题
由于: java.sql.SQLException: 数值溢出
在 oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4161)
在 oracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.java:131)
在 oracle.jdbc.driver.GeneratedStatement.getInt(GeneratedStatement.java:171)
在 oracle.jdbc.driver.GeneratedScrollableResultSet.getInt(GeneratedScrollableResultSet.java:269)
在 com.zaxxer.hikari.pool.HikariProxyResultSet.getInt(HikariProxyResultSet.java)
在 org.hibernate.type.descriptor.jdbc.IntegerJdbcType$2.doExtract(IntegerJdbcType.java:88)
在 org.hibernate.type.descriptor.jdbc.BasicExtractor.extract(BasicExtractor.java:44)
在 org.hibernate.sql.results.jdbc.internal.JdbcValuesResultSetImpl.readCurrentRowValues(JdbcValuesResultSetImpl.java:267)
... 157 个常见帧省略
请提出一些解决方案
英文:
Caused by: java.sql.SQLException: Numeric Overflow
at oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4161)
at oracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.java:131)
at oracle.jdbc.driver.GeneratedStatement.getInt(GeneratedStatement.java:171)
at oracle.jdbc.driver.GeneratedScrollableResultSet.getInt(GeneratedScrollableResultSet.java:269)
at com.zaxxer.hikari.pool.HikariProxyResultSet.getInt(HikariProxyResultSet.java)
at org.hibernate.type.descriptor.jdbc.IntegerJdbcType$2.doExtract(IntegerJdbcType.java:88)
at org.hibernate.type.descriptor.jdbc.BasicExtractor.extract(BasicExtractor.java:44)
at org.hibernate.sql.results.jdbc.internal.JdbcValuesResultSetImpl.readCurrentRowValues(JdbcValuesResultSetImpl.java:267)
... 157 common frames omitted
Please suggest some solution
答案1
得分: 0
我遇到了相同的问题,但在最近发布的Spring Boot 3.1.1升级后,问题得以解决。
英文:
I was getting the same issue but it worked after upgrading to Spring Boot 3.1.1 which was released recently.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论