Should work. Maybe you're rolling back the transaction later, orsomething like that? regards, tom lane
public
CallableStatement cs =
Connection con =
Exception errore =
con = DBUtils.connect(dbp);
cs = con.prepareCall(
cs.registerOutParameter(1, Types.
cs.setInt(2, min);
cs.execute();
result = cs.getInt(1);
}
errore =
con.rollback();
errore = e;
cs.close();
cs =
con.close();
con =
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных