在升级Hibernate 4到5时面向SQLException

时间:2018-06-11 12:01:23

标签: hibernate spring-boot jpa spring-data-jpa hibernate-jpa

异常消息:

Caused by: org.hibernate.exception.GenericJDBCException: could not extract ResultSet org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)〜[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]                 在org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)〜[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]     hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)〜[hibernate-core-5.2.17.Final.jar!/:5.2.17.Final

Caused by: java.sql.SQLException: ORA-22905: cannot access rows from a non-nested table item

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)〜[ojdbc7-12.1.0.2.jar!/:12.1.0.2.0]                 在oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)〜[ojdbc7-12.1.0.2.jar!/:12.1.0.2.0]                 在oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1059)〜[ojdbc7-12.1.0.2.jar!/:12.1.0.2.0]                 在oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522)〜[ojdbc7-12.1.0.2.jar!/:12.1.0.2.0]                 在oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257)〜[ojdbc7-12.1.0.2.jar!/:12.1.0.2.0]

0 个答案:

没有答案
相关问题