Menu

#6 transaction-type names to not match connector DTD

open
nobody
None
5
2003-03-04
2003-03-04
No

DDResourceAdapter.java uses the following definitions
to compare agains the transaction-type element to
determine what type of transaction a resource adapter
supports:

public final static String NO_TRANSACTION =
"no_transaction";
public final static String LOCAL_TRANSACTION =
"local_transaction";
public final static String XA_TRANSACTION =
"xa_transaction";

However, per http://java.sun.com/dtd/connector_1_0.dtd
, these values should be NoTransaction,
LocalTransaction, and XATransaction, respectively.

This causes resource adapters that are not customized
specificly for Tyrex to not work correctly if they rely
on transactional behavior.

Discussion


Log in to post a comment.