static void afterUsernameUpdate(TriggerData td)
public static void afterUsernameUpdate(TriggerData td)
	static void afterUsernameUpdate(TriggerData td)	throws SQLException	{		Logger log = Logger.getAnonymousLogger();		if(td.isFiredForStatement())			throw new TriggerException(td, "can't process STATEMENT events");		if(td.isFiredBefore())			throw new TriggerException(td, "must be fired after event");		if(!td.isFiredByUpdate())			throw new TriggerException(td, "can't process DELETE or INSERT events");		ResultSet _new = td.getNew();		String[] args = td.getArguments();		if(args.length != 1)			throw new TriggerException(td, "one argument was expected");		String colName = args[0];		ResultSet _old = td.getOld();		log.info("Old name is \"" + _old.getString(colName) + '"');		log.info("New name is \"" + _new.getString(colName) + '"');	}