public java . sql . Blob getBlob ( final Object value ) throws SQLException { if ( value instanceof java . sql . Blob ) return ( java . sql . Blob ) value ; if ( value instanceof byte [ ] ) { return new SerialBlob ( ( byte [ ] ) value ) ; }
Tries to get BLOB from raw |value| .