cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax for JDBC Driver and Connection

Former Member
0 Kudos

Hi All,

I would like to know the exact syntax for JDBC Driver and Connection for configuring JDBC Sender Adapter.

Reagrds

Pavan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Which DB are you using??

The exact specification varies according to the JDBC driver

Similarly for the Connection url also you need to specify the address with which you can establish a database connection using the JDBC driver.Again the exact format of the address can vary

Examples:

I used MaxDB, so

JDBC Driver Class: com.sap.dbtech.jdbc.DriverSapDB

Connection url : jdbc:sapdb://DBServer/DBName

Similarly for MSAccess

JDBC Driver Class: jdbc.odbc.JdbcOdbcDriver

Connection url : jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//xiserver/xitemp/db/TestDB.mdb

Thanks

Former Member
0 Kudos

Refer this blog to get more Idea how to connect with MSAccess...

/people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn

Thanks

farooq.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Driver name are nothing but the Java class that is provided by the Vendor.

Connection: is the connection URL that will connect with the target database.

Suppose u want to connect it with Oracle then this will be the parameters:

Driver : oracle.jdbc.driver.OracleDriver

Connection : jdbc:oracle:thin:@hostname:1526:orcl

Also the driver need to be deply in the XI server need to communicate with the target database...(drivers are vendor specific and provided by vendor itself)

If u want to connect it with any other BD then search on Google

databasename + JDBC u will get the lot of things

Thanks

Farooq.

nisarkhan_n
Active Contributor
0 Kudos

what's your Databsase?

for SQLserver 2000

JDBC-Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver

Connection: jdbc:microsoft:sqlserver://10.94.22.99:1433;DatabaseName=COS

Check this URL for details on JDBC drivers support list -