Posted By:
Jian_Liu
Posted On:
Tuesday, September 3, 2002 02:04 PM
I have a C++ program that manages and uses a pool of database connections. Is there a way for the work done on these connections to be part of a global transaction started in a J2EE server?
Besides XID, is there anything else that relates a db connection to a global transaction? Can I enlist a resource manager that points to the db I am going to use in my C++ program, acquire the XID from the JTS transaction manager, associate the work done in my C++ program with the same XID and ask JTS to coordinate commit/rollback?
Thanks a lot!