Fix to use setBytes() instead of setString() - related to DB-3954