}
public byte[] getBlob(String columnName) {
try {
Blob blob = this.resultSet.getBlob(columnName);
return new InputStreamChain(blob.getBinaryStream()).readBytes();
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("Exception while reading Blob from database.", e);
}
}