Code example for UnsupportedOperationException

0
            ByteBuffer data = (ByteBuffer)value;
            byte[] byteArray = new byte[data.remaining()];
            data.get(byteArray);
            return byteArray;
        } 
        throw new UnsupportedOperationException("BLOB Object not of known type");
    } 
 
    @Override 
    public boolean isNull(int column) {
        return get(column) == null;
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java