DB2 code

Here a null is output in the case of a Blob, which can lead to hard-to-solve bugs. Should we not throw an Exception here?