Change operation status to varchar

This commit is contained in:
manoj 2015-04-02 11:19:03 +05:30
parent 01d57a15d8
commit 80bf3640f6

View File

@ -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();