• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tranasaction Rollback in JAVA LDAP API

 
Madhav Kanneganti
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have been using a single LDAP directory background to add, update, and/or delete attributes (values) by calling the following API (code snippet).


The above code works for single call on all attribute actions (add,update,remove), if any attribute fails in that call, all will be rolled back automatically because that API will takes care of transactions.

Now we got to do the same transactions on another LDAP directory after the first LDAP directory's successes, but here if any attributes fails during the second LDAP call, all in second will be rolled back and also need to rolled back in first LDAP changes also.

Do we have any transaction process in this API like JDBC API? I couldn't find anything like that, please give me advice how to control transactions in both LDAP directories?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic