oracle的sequence怎么在EJB中实现???
yu_dx 2002-12-02 05:04:06 oracle作为开发EJB的数据库;
创建sequence:
create sequence seqForTest increment by 1 start with 1;
创建表:
CREATE TABLE test (
ID number(8) primary key NOT NULL,
Name varchar(50)
);
请问在创建ENTITY BEAN 时,怎样才能使用seqForTest.nextval使ID递增
tks!