Does spring support SAP JCo transactions?

Does Spring support JCo transaction management support? How can transactions be combined with SAP JCo or JRA transactions?

Hello

+4
source share
1 answer
goal

Spring was to facilitate programming complexity in the java world. As a JAVA programmer, your desire is not surprising :)

Spring provides a wrapper around standard JAVA specifications such as JTA, JDO, JDBC, etc. While JCo is just a connector API provided by SAP to interact with internal SAP objects and interfaces. As far as I know, Spring currently does not support JCo.

JCo3 supports JCoContext for state connections, which helps a little, but not as much as you might need.

In fact, you may need to implement JCoServerTIDHandler and another interface from the same package (I don’t remember exactly) for effective control over transaction management. Ultimately, this will mean an implementation of the Java Connector Architecture (JCA). This will be the right solution for your problem.

Hope this helps.

+2
source

All Articles