/* (non-Javadoc) * @see org.postgresql.pljava.TriggerData#isFiredByUpdate() */ public boolean isFiredByUpdate() throws SQLException { return (call.getReason() == TriggerCallRequest.TRIGGER_REASON_UPDATE); }
/* (non-Javadoc) * @see org.postgresql.pljava.TriggerData#isFiredByInsert() */ public boolean isFiredByInsert() throws SQLException { return (call.getReason() == TriggerCallRequest.TRIGGER_REASON_INSERT); }