A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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:
subject: Transaction management
Attribute type/schema of LDAP Attribute
Websphere Security Caching
Case insensitive match
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-2014