Appendix A

Section A.5

JDBC/ODBC Drivers

SyBase JConnect Driver

A.5 SyBase JConnect Driver

Configuration Properties:

ƒOTD Wizard: Database Connection Information on page 124

ƒEnvironment Properties on page 124

A.5.1 OTD Wizard: Database Connection Information

To connect to Sybase, use the information provided in Table 32 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 32 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.

A.5.2 Environment Properties

Use Table 33 to configure the environment properties for the specified JDBC/ODBC driver.

Table 33 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.

JDBC/ODBC eWay Adapter User’s Guide

124

Sun Microsystems, Inc.

Page 124
Image 124
Sun Microsystems JDBC/ODBC Adapter manual SyBase JConnect Driver, Sybase JConnect Driver Database Connection Information