|
Step 4: Create a DataSource Object
Substep 1: Create a JDBC Driver
- In the IBM WebSphere Application Server Administrative Console, select the Types view.
- Right-click JDBCDrivers.
- From the pop-up menu, select Create.
- Use these values in the subsequent dialog:
- Name: Enter an arbitrary name for the driver, such as OracleSampleDriver
- Implementation class: Select oracle.jdbc.driver.OracleDriver
- URL prefix: Type jdbc:oracle:thin:@<hostname>:<portnumber>
Be sure to enter the actual hostname for the <hostname> field.
The port number "1521" is the default port number used by Oracle but it can be altered during the installation process. Use the default port number or the port number that was specified during the Oracle install.
- JTA Enabled: Select false
- Click OK.
- Go to Substep 2.
|