Configuring JDBC/ODBC Drivers

SyBase JConnect Driver Configuration Properties

OTD Wizard: Database Connection Information

To connect to Sybase, use the information provided in Table 1–9 to complete the Connect to Database step of the JDBC/ODBC OTD Wizard. To access Sybase, it is recommended to use the Sybase eWay Adapter.

Table 1–9 Sybase JConnect Driver Database Connection Information

Parameter 

Value 

Driver Jar Files 

jconn2.jar

Driver Java Class Name 

com.sybase.jdbc2.jdbc.SybDriver 

URL Connection String 

jdbc:sybase:Tds:server-name:server-port


Note –

NOTE: Default server port is 4100.


User Name 

Login name of the account used to access the database. 

Password 

Password associated with the login account name used to connect to the database. 

Environment Properties

Use Table 1–10 to configure the environment properties for the specified JDBC/ODBC driver.

Table 1–10 Sybase JConnect Driver Environment Properties

Parameter 

Value 

Description 

JDBC Connection Pool Datasource 

ClassName 

com.sybase.jdbc2.jdbc.SybConnectionPoolDataSource 

ClassNamefor 

OtherInterfaces 

 

ServerName 

Server name of the machine hosting the database. 

PortNumber 

server-port


Note –

NOTE: Default server port is 4100.


DatabaseName 

database-name

User 

Login name of the account used to access the database. 

Password 

Password associated with the login account name used to connect to the database. 

DriverProperties 

 

Delimiter 

The default is #.

DataSourceName 

 

MinPoolSize 

The default is 0.

MaxPoolSize 

The default is 10.

MaxIdleTime 

The default is 0.


Note –

It is not mandatory to enter driver properties in the Outbound JDBC eWay Environment properties for Sybase.