fields.put("PhoneNumber", "NumberLong(" + textField_4.getText() + ")");
mencari dokumen di mana PhoneNumber
memiliki nilai "NumberLong(" + textField_4.getText() + ")"
bertipe text
(String).
Silakan coba ini.
fields.put("PhoneNumber", Long.parseLong(textField_4.getText()));
Dan seperti biasa, tangani pengecualian.