Sap HANA PreparedStatement implements CallableStatement and is treated as such by Hibernate
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.
Curious enough, it looks slike SAP Hana treats a JDBC
PreparedStatement
like aCallableStatement
: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.