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.

Environment

None

Activity

Show:
Vlad Mihalcea
March 30, 2017, 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.

Vlad Mihalcea
May 10, 2017, 1:10 PM

Applied PR upstream. This one is worth backporting too.

Fixed

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

Priority

Major
Configure