Subject | Re: [Firebird-Java] Re: Unrecognized transaction problem |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-10-24T14:41:16Z |
Hi,
As an addition to Helen's email, here's some JayBird specifics:
by a server. The "unrecognized transaction" can be considered a bug in
JayBird, since it hides the actual error reported by a server. Though it is
not very easy to fix it.
clause are useless, since driver first creates a new blob in database and
then sends its ID for comparison. According to JDBC specification you should
be able to use setObject(int, Object, int) method to tell which type of
parameter you want to send to server, but it is not currently supported.
Roman
As an addition to Helen's email, here's some JayBird specifics:
> IsJayBird does not trigger such errors, it just interprets the errors returned
> it possible to trigger an error at the prepareStatement method just
> like the "? IS NULL" condition?
by a server. The "unrecognized transaction" can be considered a bug in
JayBird, since it hides the actual error reported by a server. Though it is
not very easy to fix it.
> I found it confusing that some queries did work without failure and someI agree, but this has something to do with a server code, not to JayBird.
> didn't related to a PRIMARY KEY index that was or wasn't there.
> A workaround would probably be to use some sort of checksum to seeThere is another issue with JayBird. At present the blob parameters in WHERE
> if there where changes inside BLOB fields. Does the blob_col LIKE ?
> condition work like expected?
clause are useless, since driver first creates a new blob in database and
then sends its ID for comparison. According to JDBC specification you should
be able to use setObject(int, Object, int) method to tell which type of
parameter you want to send to server, but it is not currently supported.
Roman