我正在尝试在 oracle apex 中创建一个应用程序。我已经将它安装在我的电脑(Ubuntu)中。
我在 apex 中通过 sql 命令创建了一个表和一个序列。喜欢
create table test (
test_id number primary key,
test_name varchar2(20) not null
);
和序列一样 -
create sequence test_seq start with 1 increment by 1;
现在通过 sql-comand 在我的表中添加一个值
insert into test values(test_seq.nextval, 'Test');
Okey 运行成功。[1 行添加]
但是当我使用这个表创建一个应用程序时 - 请检查它以获取详细信息
Okey - 页面创建成功,但是当我尝试在其中添加数据时,它会说 -
ORA-01400: cannot insert NULL into ("WORKSPACE"."TEST"."TEST_ID")
那么为什么会出现这个问题呢?