Subject Re: getObject and blob
Author rrokytskyy
> My problem is the following: According to this specification
> the JDBC driver should return a byte[] object when a BLOB is read
> from a ResultSet using getObject(). But in FBBlobField.java at line
> 125 the code returns a Blob object instead of the byte[] object.

I think you are right, getObject() should return byte[]. I will
correct this after I check the specs once more.

> IMHO this:
> Object getObject() throws SQLException {
> return getBlob();
> }
>
> should be replaced with this:
> Object getObject() throws SQLException {
> return getBytes();
> }

This is ok. There should not be any side effects, since getBytes() is
getBlob() + load BLOB data and convert them to byte[].

Best regards,
Roman Rokytskyy