Download the appropriate JDBC driver and configure your environment to connect to Oracle, DB2, and Microsoft SQL Server 2005 and 2008 databases.
- Download the driver.
- Shut down Unwired WorkSpace and Unwired Platform Services.
- For Unwired WorkSpace, put the driver in the correct location.
JDBC driver for: |
Action |
Oracle |
Place the JDBC driver, for example ojdbc14.jar, in:
<SUP installation root>\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.oracle_<version>.<plugin version number>\lib
|
DB2 |
Unzip the db2JdbcJars.zip file and copy the JAR files to:
<SUP installation root>\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.db2_<version>.<plugin version number>\lib
|
SQL Server JDBC driver 3.0 |
Copy sqljdbc4.jar to:
<SUP installation root>\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_<version>.<plugin version number>\lib
|
- Copy the appropriate JAR file to the specified Unwired Server location.
JAR file for: |
Action |
Oracle |
Copy ojdbc14.jar to the server location: <SUP Installation root>\Servers\UnwiredServer\lib\3rdparty
|
DB2 |
Copy the JAR files, for example db2jcc.jar and db2jcc_license_cu.jar, to the server location: <SUP Installation root>\Servers\UnwiredServer\lib\3rdparty
|
SQL Server JDBC driver 3.0 |
Copy sqljdbc4.jar to the server location: <SUP Installation root>\Servers\UnwiredServer\lib\3rdparty
|
Note: If you do not copy the JAR files to the server location, you will encounter runtime errors due to the missing JDBC driver.
- Restart Unwired WorkSpace and Unwired Platform Services.