Chapter 3

Section 3.5

Setting Properties of the JDBC/ODBC eWay

eWay Environment Properties

ƒConnection Retry Settings

JDBC Connector Settings

Details for the JDBC Connector Settings used by the external database are detailed in Table 11.

Table 11 Outbound XA JDBC eWay—JDBC Connector Settings

Name

Description

Required Value

 

 

 

Description

The description of the database.

A valid string. The configured default

 

 

is JDBC XA Datasource.

 

 

 

ClassName

Specifies the Java class in the JDBC

A valid class name.

 

driver that is used to implement the

For example:

 

ConnectionPoolDataSource or

com.attunity.jdbc.NvXADataSource

 

XADataSource interface. Change as

 

 

needed for your driver.

 

 

 

 

ClassNamefor

For Sun Java Composite Application

A valid class name.

OtherInterfaces

Platform Suite components that do

 

 

not use ConnectionPoolDataSource,

 

 

use this entry to enter the name of

 

 

the driver class. This class will not be

 

 

used by the eWay.

 

 

 

 

ServerName

This setting specifies the host name

Any valid string.

 

of the external database server.

 

 

 

 

PortNumber

Specifies the I/O port number on

A valid port number.

 

which the server is listening for

 

 

connection requests.

 

 

 

 

DatabaseName

Specifies the name of the database

Any valid string.

 

instance.

 

 

 

 

User

Specifies the user name the eWay

Any valid string.

 

uses to connect to the database.

 

 

 

 

Password

Specifies the password used to

Any valid string.

 

access the database.

 

 

 

 

DriverProperties

The DataSource implementation may

Set the driver properties according to

 

need to execute additional methods

driver vendor's instruction. For

 

to assure a successful run. The

example:

 

additional methods will need to be

setDefTdpName#DBSQL##setWorkspa

 

identified in the Driver Properties.

ce#Navigator##

 

You must ensure that the driver is

 

 

installed on both the Logical Host

 

 

machine and the Enterprise Designer

 

 

machine.

 

 

 

 

Delimiter

This is the delimiter character to be

The default is #.

 

used in the DriverProperties prompt.

 

 

 

 

JDBC/ODBC eWay Adapter User’s Guide

38

Sun Microsystems, Inc.

Page 38
Image 38
Sun Microsystems JDBC/ODBC Adapter manual Outbound XA Jdbc eWay-JDBC Connector Settings, Is Jdbc XA Datasource