Before you build and run the Oracle sequence sample, make sure you do the following:
- Create a file named sequence.sql that contains a sample sequence for your database. The sequence must
include one or more appropriate SQL statements, such as the following:
"create sequence ejbSequence start with 8001"
- Edit the weblogic-ejb-extensions.xml file to indicate the appropriate database information.
The locations within the weblogic-ejb-extensions.xml file that you need to edit
are identified by the following comments:
*** DATABASE INFORMATION SPECIFIC TO INSTALLATION SITE ***
The values you need to provide are for the database URL, user, and password.
See the topic Building and Running the EJB Sample Applications for additional
information about how to build and run the Oracle sequence bean sample application.