CREATE OR REPLACE TRIGGER GERA_ID_UPDATERPRODCONFIGFILI
BEFORE INSERT ON UPDATERPRODCONFIGFILI FOR EACH ROW
BEGIN
  SELECT SEQ_UPDATERPRODCONFIGFILI.NEXTVAL
    INTO :NEW.ID
    FROM DUAL;
END;
/