Updating the Database Connection Profile

Due to JDBC driver location changes, beginning in SAP Mobile Platform version 2.1. ESD #3, the existing database connection profile may fail to ping/connect with this exception: java.lang.ClassNotFoundException: com.sybase.jdbc3.jdbc.SybDriver.

If you see this error, change the JDBC driver location. For example, for a SQL Anywhere® connection profile:
  1. In Enterprise Explorer, right-click the database connection profile, and select Properties.
  2. In the left pane, select Sybase ASA Connection Properties.
  3. Click the upper-right triangle button to invoke the Edit Driver Definition dialog.
  4. Select the Jar List tab, and select the driver file entry that contains the incorrect JDBC driver file path, then click Edit JAR/Zip to invoke the Select the file dialog.
  5. Click Look in to specify the path. For example: SMP_HOME\MobileWorkSpace\Eclipse\sybase_workspace\framework\eclipse\plugins\com.sybase.jconnect_7.0.0.201212211040\lib., where SMP_HOME represents the SAP Mobile SDK installation directory, down to the MobileSDKXXX folder.
  6. Click OK to complete the driver definition location change.
  7. Click OK to complete the connection profile properties change.