This procedure describes how to use the Oracle ojdbc6.jar as the driver to connect to Oracle data sources.
-
Download the Oracle ojdbc6.jar file.
- Edit the MANIFEST.MF file
located in the SMP_HOME\MobileSDK<version>\MobileWorkSpace\mobile\eclipse\plugins\com.sybase.uep.com.oracle_<version>.<timestamp>\META-INF
directory, and replace this line:
Bundle-ClassPath: lib/ojdbc14.jarwith
Bundle-ClassPath: lib/ojdbc6.jar
- Save and close the file.
- Copy the downloaded ojdbc6.jar file to
SMP_HOME\MobileSDK<version>\MobileWorkSpace\mobile\eclipse\plugins\com.sybase.uep.com.oracle_<version>.<timestamp>\lib.
- Perform a clean startup:
- Open a command prompt.
- Cd to SMP_HOME\MobileSDK<version>\Eclipse.
- Enter the command MobileWorkSpace.bat
-clean
- From SAP Mobile WorkSpace, verify the Oracle
connection profile's properties, including the correct path to the
ojdbc6.jar driver.
- To enable the driver on SAP Mobile Server, copy
the ojdbc6.jar file to the
SMP_HOME\Servers\UnwiredServer\lib\ext
directory.
- You can now create a connection profile and connect to the
Oracle server and create MBOs from the Oracle data source.