Are these cases needed? Doesn't the JDBC escape take care of this?