软件架构: EJB3.0 + Struts1.3 + Spring2.0 + JPA 应用服务器: Jboss5.1 数据库用: Oracle9i 部署前将 demo-service.xml和oracle-ds.xml copy到jboss deploy目录下,配置到你的环境下即可 -- Create sequence create sequence TEST_SEQ minvalue 1 maxvalue 9999999999999999999 start with 2 increment by 1 cache 20;