Subject | Re: getObject and blob |
---|---|
Author | rrokytskyy |
Post date | 2002-03-26T06:41:19Z |
> I think you are right, getObject() should return byte[]. I willOk, I checked the JDBC 3.0 specs, and on the page B-179 you can find
> correct this after I check the specs once more.
the mapping for ResultSet.getObject() and CallableStatement.getObject
(). byte[] should be returned for any BINARY type, and for BLOB you
should get the Blob instance.
Since the FBBlobField corresponds to the BLOB type (Firebird has no
BINARY type, only BLOB), I will not change the type of the object
returned in this particular class.
However, I think the BINARY type should be addressed too. Currently
we do have a mix in the code, and this will be corrected.
Best regards,
Roman Rokytskyy