Installing the driver from the file system using bundle:install
This is particularly useful for DB2, Oracle and SQLServer drivers since they are not published as OSGi bundles.
-
Oracle:
bundle:install wrap:file:E:/talend/TESB/db/oracle/ojdbc6.jar\\$Bundle-SymbolicName= oracle.jdbc&Bundle-Version=11.2.0.2&Bundle-Name='JDBC Driver for Oracle'
-
DB2:
bundle:install wrap:file:E:/talend/TESB/db/db2/db2jcc-9.7.jar\\$Bundle-SymbolicName= com.ibm.db2.jdbc&Bundle-Version=9.7&Bundle-Name='JDBC Driver for IBM DB2'
-
SQLServer:
bundle:install wrap:file:E:/talend/TESB/db/mssql/sqljdbc4-3.0.jar\\$Bundle-SymbolicName= com.microsoft.sqlserver.jdbc&Bundle-Version=3.0&Bundle-Name= 'JDBC Driver for SQL Server'
-
PostgreSQL:
bundle:install wrap:file:E:/talend/TESB/db/postgresql/postgresql.jar\\$Bundle-SymbolicName =postgresql&Bundle-Version=9.2&Bundle-Name= 'JDBC Driver for PostgreSQL'