user2361591
user2361591

Reputation: 153

Rolling back a transaction in apache chemistry cmis

I am creating a java application which will connect to alfresco repository and perform some operations. I am using apache chemistry cmis for doing these operations. If i encounter an error during these operations , how will i handle the rollback mechanisms to undo the operation performed using the course of the operation ?

Upvotes: 1

Views: 652

Answers (1)

Younes Regaieg
Younes Regaieg

Reputation: 4156

Unfortunately each CMIS request has its own transaction, and there is no builtin transaction support across multiple requests! You need to do the necessary back (ie: through versionning for instance), and then implement your rollback logic manually!

Upvotes: 2

Related Questions