beautypg.com

Sun Microsystems eWay JDBC/ODBC Adapter User Manual

Page 28

background image

Chapter 3

Section 3.2

Setting Properties of the JDBC/ODBC eWay

Configuring the eWay Connectivity Map Properties

JDBC/ODBC eWay Adapter User’s Guide

28

Sun Microsystems, Inc.

In 5.1.2, five new records are to be inserted into a table. If one of the records fails to
insert (such as when a duplicate key exists), the other four records will not be
inserted. This is the behavior of the LocalTransaction.

In order to achieve the same result as in 5.1.0 versions, you can choose the method
below:

A

In the Connectivity Map, delete the link to the database external application,
then reconnect the link and select NoTransaction.

B

Fill in the NoTransaction property for the database external system under the
Environment.

C

Rebuild the Project.

The following charts identifies what transaction support levels changed between
5.0.5 and 5.1.2, and 5.1.0 and 5.1.2, respectively. Note that there are no changes
when migrating from ICAN version 5.0.5 and Java CAPS 5.1.2.

Figure 8 Transaction Support Levels

Under the scenario noted above, if you want 5.1.2 behavior for a LocalTransaction,
then set your eWay connection to be Outbound JDBC/ODBC non-Transactional
eWay (NoTransaction).

Outbound Informix eWay

(LocalTransaction)

Outbound Informix XA

eWay

(XATransaction)

Outbound Informix eWay

(LocalTransaction)

Outbound Informix XA

eWay

(XATransaction)

ICAN Version 5.0.5

Java CAPS 5.1.2

Outbound Informix eWay

(LocalTransaction)

Outbound Informix XA

eWay

(XATransaction)

Outbound Informix non-

Transaction eWay

(NoTransaction)

Outbound Informix XA

eWay

(XATransaction)

Java CAPS 5.1.0

Java CAPS 5.1.2