Skip to content

How to use a JDBC driver in DBPTK Developer

Miguel Guimarães edited this page Apr 6, 2022 · 2 revisions

There are a few modules that use proprietary drivers such as Sybase ASA or Progress OpenEdge. This drivers can not be included in the application due to proprietary restrictions. They need to be imported. Some databases are not supported by DBPTK Developer in order to migrate those database you also need to use the specific JDBC driver.

Follow the instructions bellow on how to import a JDBC driver to DBPTK Developer.

Windows system

java -cp "C:\path\to\dbptk-app-x.y.z.jar;C:\path\to\jdbc_driver.jar" com.databasepreservation.Main migrate <import-module> [import module options] <exportModule> [export module options] [<filterModule(s)> [filter module options]]

Unix system

java -cp "/path/to/dbptk-app-x.y.z.jar:/path/to/jdbc_driver.jar" com.databasepreservation.Main migrate <import-module> [import module options] <exportModule> [export module options] [<filterModule(s)> [filter module options]]