79391047

Date: 2025-01-27 14:05:19
Score: 1
Natty:
Report link

try Double.parseDouble(rs.getString(index)) for reading and

PGobject pGobject = new PGobject();
        pGobject.setValue(your value in string);
        pGobject.setType("money");

for writing postgresql money datatype. This pgObject you can insert into preparedStatement.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Анна Григоренко