1、在oracle中创建序列:STU_NO
2、在ORACLE中创建表“序列测试表”(NO 数字型, Name 字符型)
3、在X3中生成数据字典
4、创建业务信息及标准数据集,设置数据集的更新属性:自定义更新SQL语句
INSERT INTO TEST1
( NO , NAME)
VALUES ( STU_NO.NEXTVAL, :NAME)
UPDATE TEST1
SET NAME = :NAME
WHERE ( NO = :OLD__NO)
DELETE FROM TEST1
WHERE ( NO = :OLD__NO and NAME = :OLD__NAME)
注:禁止更新No字段(该字段用序列填充)