Configuring Java CAPS Project Components for Database Adapters

Example:

In 5.1.X, five new records are to be inserted into a table. If the last record fails to insert (such as when a duplicate key exists), all previous records will have been inserted. This is the behavior of NoTransaction support.

In 6.0, 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.X versions, you can choose the method below:

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

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

  3. Rebuild the Project.

The following charts identifies what transaction support levels changed between 5.0.5 and 6.0, and 5.1.3 and 6.0, respectively.


Note –

there are no changes when migrating from ICAN version 5.0.5 and Java CAPS 6.0.


If you want 6.0 behavior for a LocalTransaction, then set your adapter connection to be Outbound JDBC/ODBC non-Transactional Adapter (NoTransaction).