map.setv("+*id", 0);
NutMap ok=dao.insert(map);
需要什么触发器配合?
生成id的触发器
create or replace trigger tr_msg_xz_icmeterbook
before insert on mr_msg_xz_icmeterbook
for each row
declare
begin
select seq_xz_icmeterbook.nextval into :new.ID from dual;
end;
map.setv("+*id", 0);
NutMap ok=dao.insert(map);
需要什么触发器配合?
生成id的触发器
create or replace trigger tr_msg_xz_icmeterbook
before insert on mr_msg_xz_icmeterbook
for each row
declare
begin
select seq_xz_icmeterbook.nextval into :new.ID from dual;
end;