I am using JConnect 5.5 with JDK 1.3 on Sybase 12.5.

I am in the process of testing one of the applications. This application queries the database (no updates) and retrieves data. It fires dynamic Prepares statements and stored procedures.

In the JConnect driver we are specifying the parameter DYNAMIC_PREPARE=true

When the application is run it produces an error JZ0C0:Connection is already closed.

It does not stop, it goes on and fetches data for the rest of the services, but one can see the error in the log file it generates.

The wierd part is that the application seems to run fine when run with the following combinations:

JDK 1.2 + JConnect 5.5 + Sybase 12.5
JDK 1.2/1.3 + + JConnect 5.5 + Sybase 11.9

Please provide some pointers/help.