Making adjustments for multithreading

If several threads simultaneously call methods on the same Statement instance, CallableStatement, or PreparedStatement—which Sybase does not recommend— you must manually synchronize the calls to the methods on the Statement; jConnect does not do this automatically.

For example, if you have two threads operating on the same Statement instance—one thread sending a query and the other thread processing warnings—you must synchronize the calls to the methods on the Statement or conflicts may occur.