/** * Method to do update. This method is to be used during a transaction, otherwise use the * doUpdate(AttendenceSeet) method. It will take care of the connection details internally. * * @param obj the data object to update in the database. * @param con the connection to use * @throws TorqueException Any exceptions caught during processing will be rethrown wrapped into a * TorqueException. */ public static void doUpdate(AttendenceSeet obj, Connection con) throws TorqueException { doUpdate(buildCriteria(obj), con); obj.setModified(false); }
/** * Method to do updates. * * @param criteria object containing data that is used to create the UPDATE statement. * @throws TorqueException Any exceptions caught during processing will be rethrown wrapped into a * TorqueException. */ public static void doUpdate(Criteria criteria) throws TorqueException { BaseAttendenceSeetPeer.doUpdate(criteria, (Connection) null); }