|
Defining the "SuperStore" Connection |
|
|
The database "SuperStore" is ready. We will now define a Relational Database Connection to use it for all our database operations.
Note that we've chosen Derby's embedded driver so that the database "samples/Derby/SuperStore" which is provided in the MMAS package can be directly accessed without starting any additional database service. So don't be confused.
The MySQL JDBC Driver MySQL JDBC driver is not included in the MMAS package. Please follow the instructions given in the previous page to prepare it for use.
You should change the <hostname> and <SID> according to your Oracle installation. Example: jdbc:oracle:thin:@localhost:1521:ORATEST
The Oracle JDBC Driver Oracle JDBC driver is not included in the MMAS package. Therefore you should place the "classes?.jar" or "odbc?.jar" file that contains the Oracle JDBC Driver to directory "{INSTALLDIR}\lib\cpn\mor\RelDB\drivers". If you have oracle installation the "classes?.jar" file is usually located under "{ORACLE_INSTALL_DIR}\product\10.2.0\db_1\jdbc\lib\" directory. Note for all databases except Apache Derby: You should change the "username" and the "password" properties with a username and a password that are valid in your database. No username and password is required for Apache Derby.
|