Change operation status to varchar

4.x.x
manoj 10 years ago
parent 01d57a15d8
commit 80bf3640f6

@ -48,7 +48,7 @@ public class OperationDAOImpl implements OperationDAO {
stmt.setString(1, operation.getType().toString()); stmt.setString(1, operation.getType().toString());
stmt.setTimestamp(2, new Timestamp(new Date().getTime())); stmt.setTimestamp(2, new Timestamp(new Date().getTime()));
stmt.setTimestamp(3, null); stmt.setTimestamp(3, null);
stmt.setBoolean(4, false); stmt.setString(4, Operation.Status.PENDING.toString());
stmt.executeUpdate(); stmt.executeUpdate();
rs = stmt.getGeneratedKeys(); rs = stmt.getGeneratedKeys();

Loading…
Cancel
Save