We're updating the issue view to help you get more done. 

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:

1 2 3 4 5 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.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Vlad Mihalcea

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

5.2.9

Priority

Major