cancel
Showing results for 
Search instead for 
Did you mean: 

JCO.Server and CALL xyu IN BACKGROUND TASK

Former Member
0 Kudos

Hi community,

even though we are still not using this I have a question about the fundamental way this should work.

The main question is: how should I be able to connect Ressources to a transaction ID (TID) that I recieved via "onCheckTID" as the TID is not coming with "handleRequest"?!

I only recieve TIDs with "onCheckTID" (to reject TIDs already in use), "onConfirmTID" (to free resources) and "onCommit" and "onRollback". But how am I supposed to rollback changes to the database done in my java services? This is not possible as there could be running x transations simultaniesly with x open updates, but no database connection could be linked to a TID...

Are there any examples for this?

Accepted Solutions (0)

Answers (1)

Answers (1)

TomVanDoo
Active Contributor
0 Kudos

I'm not sure if I quite understand your question.

Most likely I'm way off, but could savepoints be of any help?

insert savepoint to the database, add some data, check data, data incorrect? rollback to savepoint.