// check updateable
if (isUpdateable()==false)
throw new NotSupportedException(this, "updateRecord");
// Check Arguments
if (rec == null)
throw new InvalidArgumentException("record", rec);
if (rec.isValid()==false)
throw new ObjectNotValidException(rec);
if (conn == null)
throw new InvalidArgumentException("conn", conn);
// Get the new Timestamp
String name = getName();
Timestamp timestamp = (timestampColumn!=null) ? db.getUpdateTimestamp(conn) : null;
DBDatabaseDriver.DBSetGenKeys setGenKey = null;
// Get the fields and the flags