| 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. The fix could go likes this. In the AbstractHANADialect, just add the following method:
@Override
public ResultSet getResultSet(CallableStatement ps) throws SQLException {
return ps.executeQuery();
}
|