

Configuring the development environment to use an Oracle database
The initial installation of WebSphere Commerce Developer provides WebSphere Commerce Developer with the Apache Derby database. You can re-configure your environment to use an Oracle database.
Before you begin
- You are developing enterprise beans that require you to write database specific SQL.
- You are making significant changes to the database schema
Ensure you have the following tasks completed:
- Install Rational Application Developer with the WebSphere Application Server test environment.
- Install the latest fixes for Rational Application Developer
- Install the WebSphere Commerce toolkit including a test environment.
- Install an Oracle database on a local or remote Windows machine.
See the following table for a list of components required for a local
or remote installation of the Oracle database.
Local Oracle database Remote Oracle database - Oracle Net Services
- Oracle Net Protocol Support
- SQL*Plus
- Oracle JDBC/Thin Interfaces
- Oracle JDBC/OCI Interfaces
- Database server machine
-
- Oracle Net Services
- Oracle JDBC/Thin Interfaces
- Oracle JDBC/OCI Interfaces
- WebSphere Commerce development machine
-
- Oracle Enterprise Client
- SQL*Plus
- Oracle JDBC/Thin Interfaces
- Oracle JDBC/OCI Interfaces
- Oracle Network Utilities
- Oracle Database Utilities
- Created a new Oracle user ID and an empty schema. Ensure that the database uses the UTF-8 character set and that the Oracle user ID has access to the new database. The Oracle user ID must not be a reserved user ID like SYSTEM or SYS.
- Set the Oracle
open_cursors
configuration parameter to 1000 or higher. You must restart Oracle after changing theopen_cursors
value.The installation default value of
open_cursors
is 300. If you do not set theopen_cursors
value higher, you might receive error messages. - Record the following information about the Oracle database:
Local Oracle database Remote Oracle database - The root directory of the Oracle database.
For example,
C:\ORACLE\ORA
- The name of the database
- The database administrator ID
- The database administrator password
- The database user ID
- The database user password
- The root directory of the Oracle database client
For example,
C:\ORACLE\ORA
- The name of the remote database
- The name of the local net service for the remote database
- The database administrator ID
- The database administrator password
- The database user ID
- The database user password
- The fully qualified host name of the database server
- The port number on the database server used for remote connections
- The root directory of the Oracle database.
- Back up your existing development database.
About this task
Procedure
Results
- run the
resetdb.bat
command - run the
resetstores.bat
command - run the
setdbtype
command, specifying Apache Derby and using thecreatedb
flag.