org.springframework.jdbc.UncategorizedSQLException:jOOQ;错误代码[17401];违反协议:

时间:2015-04-30 14:26:46

标签: sql spring jdbc oracle11g jooq

我们正在使用JOOQ来访问数据库并最近在日志中看到以下错误消息。谁能告诉我这是什么意思?顺便说一句,我们正在使用oracle数据库。

Caused by: org.springframework.jdbc.UncategorizedSQLException: jOOQ; uncategorized SQLException for SQL 
[select "company"."employee"."total" from "company"."employee" where ("company"."employee"."id" = ? and "company"."employee"."name" = ?)]; 
SQL state [99999]; error code [17401]; Protocol violation: [ 125, ]; nested exception is java.sql.SQLException: Protocol violation: [ 125, ]
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:84)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
    at org.jooq.spring.ExceptionTranslator.exception(ExceptionTranslator.java:73)
    at org.jooq.impl.ExecuteListeners.exception(ExecuteListeners.java:232)
    at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:341)
    at org.jooq.impl.AbstractResultQuery.fetchLazy(AbstractResultQuery.java:357)
Caused by: java.sql.SQLException: Protocol violation: [ 125, ]
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:669)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:566)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:215)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:58)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:776)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:897)

0 个答案:

没有答案