[interclient] Bug detected. Refer to bug code 10019.
During the execution of my Java application I encountered the following
error message. What does this mean?
[interclient] Bug detected.
Please send mail to email@example.com
Refer to bug code 10019.
See API reference for exception interbase.interclient.BugCheckException
borland.jbcl.dataset.DataSetException: [interclient] Bug detected.
The information in this article applies to:
** InterClient 1.x
InterClient issues this bug code when it detects that the transaction state
of InterServer disagrees with the transaction state of InterClient.
If an application invokes COMMIT using SQL rather than using the JDBC
Connection.commit() method, the transaction states of interclient and
interbase will not be in sync. So a transaction should be committed using:
and not by passing SQL: Statement.executeUpdate ("COMMIT");
In general, SQL should never be used in lieu of JDBC. For another
executeUpdate ("CREATE DATABASE....");
doesn't make any sense in JDBC because SQL must be executed on a
connection, and creating a database cannot happen on a connection
because the database doesn't exist yet (in the Interbase API, this is allowed
by nulling out the database handle; but one cannot execute SQL on a "null"
connection in JDBC).
source: Paul Ostler