A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Oct 15, 2004
Oct 25, 2004 01:39:00
I have a scenerio as below
I have two data stores one is SQL Server and other LDAP.
When I insert a record in SQL Server and should also insert into LDAP.
I am calling a stored procedure to insert into SQL Server database
After that I call LDAP API to insert into LDAP
I should roll back SQL server insert??
Joined: Aug 15, 2004
Oct 25, 2004 02:04:00
yeah, if LDAP insert failed.
author & internet detective
Joined: May 26, 2003
Oct 25, 2004 17:57:00
As LDAP is a database, you should be able to use an XA driver and 2 phase commit to avoid having to do this explicitly.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Transaction management
Websphere Security Caching
Case insensitive match
Attribute type/schema of LDAP Attribute
LDAP Authentication in Websphere 7
LDAP for Authentication
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014