我用松鼠3.2.0
当我尝试替换这个触发器:
CREATE OR REPLACE TRIGGER crw_ins_trig
BEFORE INSERT OR UPDATE ON crew
FOR EACH ROW
DECLARE
BEGIN
if (:new.crw_id is null) then
select crw_id_seq.nextval
into :new.crw_id
from dual;
end if;
END;
/
我收到消息“请输入参数值.’:new’
当我单击确定结果消息是:
Warning: Warning: execution completed with warning
sqlState: null
ErrorCode: 17110
Position: 27
Query 1 of 1,Rows read: 0,Elapsed time (seconds) - Total: 0.023,sql query: 0.023,Building output: 0
在我的应用程序中,我收到一个错误“ORA-04098:trigger’CRW_INS_TRIG’无效并且重新验证失败”
这是否与松鼠有关?如果是这样,我该如何解决呢?