Sap HANA PreparedStatement implements CallableStatement and is treated as such by Hibernate

Description

Curious enough, it looks slike SAP Hana treats a JDBC PreparedStatement like a CallableStatement:

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 the PreparedStatement as a CallableStatement which is not supported by the SAP Hana Driver.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

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
Loading...