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.