SAP Knowledge Base Article - Preview

2645400 - SAP HANA JDBC cancel() command does not work. Sessions are not cancelled.

Symptom

Cancelling a session of a long running SQL statement in a Java program is not working with the SAP HANA JDBC driver version 2.05.

For instance:

Statement st = getStatementForStop();

if (st != null)

{

try{

st.cancel();

}

catch (SQLException e){ e.printStackTrace(); }

}


Read more...

Environment

SAP HANA 1.0

SAP HANA 2.0

SAP HANA JDBC driver version 2.05

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0

Keywords

Error, client, cancellation, session, program, execution, transaction, connection, sql, statement, cancel, ngdbc, ngdbc.jar, method, function, java , KBA , HAN-DB-CLI , SAP HANA Clients (JDBC, ODBC) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.