There is no built in transactional behavior in LDAP.  All LDAP operations are
atomic.  You will have to implement it yourself.  You would be better off
updating the SQL Server first, then updating the LDAP Server, and finally
COMMITing the changes to the SQL server.

Bruce

Kalyan wrote:

> Hi,
>
> I have a scenario of updating a record in LDAP as well as in MSSQL Server.
> First I make a call to update the data in LDAP. The LDAP updation is
> successful. Then I am doing an updation in MSSQL DB. If I get an exception
> while updating into MSSQL, then I need to rollback the updated data in LDAP,
> as the data in both LDAP and MSSQL Server has to be in sink.
>
> Is there any way of doing this in LDAP. I am using Netscape Directory
> Server. My developement is in Java.
>
> Can anybody please help me
>
> T&R,
> Kalyan
>
> --
> ___________________________________________________________________________
> Kalyan Sundar. K,
> Consultant,
> Cambridge Technology Partners,
> 14th floor, Prestige Meridian II,
> 30/31, M.G.Road,
> Bangalore -560 001.
>
> Dial: 558 3025 Extn:8943
> Email: [EMAIL PROTECTED]


Reply via email to