}
@Override
public void replaceCommit(Id id, Commit commit) throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream();
commit.serialize(new BinaryBinding(out));
byte[] bytes = out.toByteArray();
Connection con = cp.getConnection();
try {
PreparedStatement stmt = con