How to make the BEA Sybase JDBC driver to execute a statement during the connection

(Doc ID 843240.1)

Last updated on DECEMBER 14, 2010

Applies to:

Oracle Business Process Management Suite - Version: 6.0.4 to 10.3.1 - Release: to AS10gR3
Information in this document applies to any platform.

Goal

In some cases there is the need to execute a SQL statement  each time a database connection is established.
For example, set a correct Date and Time format or disable the Sybase strict SQL check by executing the
"set ANSINULL off" statement.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms