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.
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:
- it saves me about five hours per week
subject: Transaction management
Case insensitive match
Attribute type/schema of LDAP Attribute
Websphere Security Caching
LDAP for Authentication
LDAP Authentication in Websphere 7
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013