Subject | Re: [Firebird-Java] Obscure error |
---|---|
Author | Ann W. Harrison |
Post date | 2003-02-07T10:07:45Z |
At 11:18 AM 2/6/2003 -0800, William L. Thomson Jr. wrote:
I would say that an empty blob is not the same as a null blob
either. In your application you may decide that an empty blob
should be null. And perhaps the JDBC spec equates the two. The
SQL standard does not.
Regards
Ann
>This is your problem and I suggest correcting in on the DB end insteadAn empty string is not the same as a null string and by extension
>of the driver. An empty blob should be set to null, there is no reason
>to do other wise. Unless you have one.
I would say that an empty blob is not the same as a null blob
either. In your application you may decide that an empty blob
should be null. And perhaps the JDBC spec equates the two. The
SQL standard does not.
Regards
Ann