Permalink
Browse files

adding explicit db commit on update

  • Loading branch information...
1 parent 7c3d9d0 commit 1fe8ec2a800ea8e253515f1b0ecd41212da17667 BuzzTroll committed Sep 10, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 authzdb/src/org/nimbus/authz/AuthzDBAdapter.java
@@ -523,6 +523,7 @@ public int newFile(
{
throw new AuthzDBException("did not insert the row properly");
}
+ c.commit();
}
return fileId;
}
@@ -694,6 +695,7 @@ public void setFileSize(
{
throw new AuthzDBException("did not insert the row properly");
}
+ c.commit();
}
catch(SQLException e)
{

0 comments on commit 1fe8ec2

Please sign in to comment.