Subject | Re: getObject and blob |
---|---|
Author | rrokytskyy |
Post date | 2002-03-29T18:52:46Z |
> I think you are right, getObject() should return byte[]. I willI tried to respond today couple of hours ago, but Yahoo seems to have
> correct this after I check the specs once more.
lost my reply.
I checked the JDBC 3.0 API, and it says that for BLOB fields we have
to return Blob instances. So, I will not change FBBlobField, since
it, in my opinion, it works correctly.
byte[] should be returned for BINARY field, but Firebird has no
BINARY type. But I must admit that we have to clean up the driver to
remove any reference to the BINARY types (at least I have found it in
FBResultSetMetaData.java).
Best regards,
Roman Rokytskyy