If several threads simultaneously call methods on the same Statement instance, CallableStatement, or PreparedStatement—which we do not recommend— you have to 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 have to synchronize the calls to the methods on the Statement or conflicts may occur.
Copyright © 2003. Sybase Inc. All rights reserved. |
![]() |