
Changing the development database type using the setdbtype command
After you install WebSphere Commerce Developer, the development environment is configured to use the Apache Derby database. To change the database type to DB2, Oracle, or back to Apache Derby, run the setdbtype command. Ensure that the database you are switching to exists in your network. Changing development database types does not carry over any schema customizations or custom data to the new database.
Note:
- If you want to switch development databases after you install the latest fix pack, you must
update to the new database manually by running the
updatedb
command. The new database is restored to bootstrap state after you switch databases. - If you switch development databases, you must re-enable any features that you are using from WebSphere Commerce feature packs
- When you specify a DB2 password, make sure that it meets the naming restrictions for WebSphere Commerce databases. If restricted characters are used in database passwords, you can encounter connection errors when you use utilities that take these passwords as input on the command-line, including setdbtype. For more information, see Troubleshooting: Database connection errors when utilities run from a command-line interface
- Oracle database is not supported on WebSphere Commerce Developer Express Edition. See Troubleshooting: No data inserted after running setdbtype command.
Before you begin
If you change the database to IBM i, install APAR JR36284.
If you are using a remote database, install the appropriate DB2 client to access the remote DB2 database. For more information, see your DB2 documentation.
- If you are using a remote database, install the appropriate Oracle client to access the remote Oracle database. For more information, see the Oracle documentation.
- Create a database.
- Create an Oracle database user.
Oracle database considerations
Oracle database considerations
Oracle database considerations
Oracle database considerations
Note: Ensure that the user has enough table space or that Auto Extend is set to Yes in the data file. Grant the user the following privileges: create procedure, create session, create synonym, create table, create trigger, create view, and create materialized view.
If you want to switch the database type to DB2 V9.7, install WebSphere Commerce Version 7.0 with fix pack 1 before you run the setdbtype command.