Sap HANA PreparedStatement implements CallableStatement and is treated as such by Hibernate
Activity
Show:
Fixed
Details
Details
Assignee
Vlad Mihalcea
Vlad MihalceaReporter
Vlad Mihalcea
Vlad MihalceaComponents
Fix versions
Affects versions
Priority
Created March 28, 2017 at 2:08 PM
Updated August 9, 2018 at 1:46 PM
Resolved May 10, 2017 at 1:10 PM
Curious enough, it looks slike SAP Hana treats a JDBC
PreparedStatement
like aCallableStatement
:at com.sap.db.jdbc.CallableStatementSapDB.constructor(CallableStatementSapDB.java:215) at com.sap.db.jdbc.CallableStatementSapDB.<init>(CallableStatementSapDB.java:125) at com.sap.db.jdbc.CallableStatementSapDBFinalize.<init>(CallableStatementSapDBFinalize.java:31) at com.sap.db.jdbc.ConnectionSapDB.prepareStatement(ConnectionSapDB.java:1390) at com.sap.db.jdbc.trace.Connection.prepareStatement(Connection.java:347)
The problem is reported in this forum thread, and is caused by
org.hibernate.engine.jdbc.internal.ResultSetReturnImpl
which treats thePreparedStatement
as aCallableStatement
which is not supported by the SAP Hana Driver.