Appendix A

Section A.2

JDBC/ODBC Drivers

Attunity Driver

Table 26 Attunity Driver Database Connection Information

Parameter

Value

 

 

 

 

Driver Jar Files

nvjdbc2.jar

 

 

Driver Java Class Name

com.attunity.jdbc.NvDriver

 

 

URL Connection String

jdbc:attconnect://<server-name>;DefTdpName=<database-

 

logical-name>;OneTdpMode=1

 

Note: The <database-logical-name> is created in

 

the Attunity server.

 

 

User Name

Leave password field blank. Value configured when the

 

database entry is created in the Attunity Server.

 

 

Password

Leave password field blank. Value configured when the

 

database entry is created in the Attunity Server.

 

 

A.2.2 Environment Properties

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

Table 27 Attunity Driver Database Environment Properties

Parameter

Value

 

 

 

 

Description

JDBC Connection Pool Datasource

 

 

ClassName

com.attunity.jdbc.NvXADataSource

 

 

ClassNamefor

 

OtherInterfaces

 

 

 

ServerName

Server name of the machine hosting the database.

 

 

PortNumber

<server-port>

 

Note: NOTE: Default server port is 2551.

 

 

DatabaseName

<database-name>

 

 

User

Leave user field blank. Value configured when the database

 

entry is created in the Attunity Server.

 

 

Password

Leave password field blank. Value configured when the

 

database entry is created in the Attunity Server.

 

 

DriverProperties

setDefTdpName#<database-logical-

 

name>##setWorkspace#Navigator##

 

 

Delimiter

The default is #.

 

 

DataSourceName

 

 

 

MinPoolSize

The default is 0.

 

 

MaxPoolSize

The default is 10.

JDBC/ODBC eWay Adapter User’s Guide

120

Sun Microsystems, Inc.

Page 120
Image 120
Sun Microsystems JDBC/ODBC Adapter manual Attunity Driver Database Connection Information