storm-apt/api/src/main/java/com/turbomanage/storm/SQLiteDao.java
public long update(T obj) {
		ContentValues cv = th.getEditableValues(obj);
		Long id = th.getId(obj);
		int numRowsUpdated = getWritableDb().update(th.getTableName(), cv, th.getIdCol()
				+ "=?", new String[] { id.toString() });
		return numRowsUpdated;
	}
public long update(T obj) {
		ContentValues cv = th.getEditableValues(obj);
		Long id = th.getId(obj);
		int numRowsUpdated = getWritableDb().update(th.getTableName(), cv, th.getIdCol()
				+ "=?", new String[] { id.toString() });
		return numRowsUpdated;
	}
Update all columns for the row having the ID matching
the provided entity's ID.

@param obj An entity
@return count of updated rows