Skip to Content
avatar image
Former Member

What are the valid arguments for setting SQL_ATTR_SESSION_TIMEOUT in Hana ODBC connection handle?

Hi

What are the valid and default arguments that can be set for SQL_ATTR_SESSION_TIMEOUT while creating a connection to Hana DB using ODBC driver?

I tried the following and it did not work, as my connection died after a few minutes.
Is there any other setting that I need to change on the Hana Instance to increase the session timeout?

SQLSetConnectAttr(_hdbc, SQL_ATTR_SESSION_TIMEOUT, (SQLPOINTER)(86400), SQL_IS_UINTEGER);

Thanks
Suman

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers