Skip to Content
0
Dec 27, 2015 at 01:53 PM

Exception while trying to use transction in JCA code

20 Views

Hello Experts,

I'm trying to use transaction in my JCA code according to this example: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/dd/1e044258bdd417e10000000a1550b0/content.htm

When I'm trying to get the LocalTranstion object (connection.getLocalTransaction().begin()), I get the following exception:

java.lang.UnsupportedOperationException: The SAP Connector does not supports transactions.

at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnection.getLocalTransaction(SAPCFConnectorConnection.java:176)

J2EE version is 7.01 SP16.

How can I use transaction from JCA code?

Regards,

Omri