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:

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:

Vlad Mihalcea May 10, 2017 at 1:10 PM

Applied PR upstream. This one is worth backporting too.

Vlad Mihalcea March 30, 2017 at 1:51 PM

This is linked to HHH-8022, and we should handle the PS and the CS differently right from the Loader where we know if we have to deal with a CS.

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