Before you build and run the JDBC sequence sample, make sure you do the following:
- Create the table in your database using SQL statements such as the following:
"create table ejbAccounts (id varchar(15), bal float, type varchar(15))"
"create table idGenerator (tablename varchar(32), maxKey int)"
- 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 JDBC sequence bean sample application.