one single transaction , several databases' connections

D

Daniel Dyer

Can one single transaction contain connections to several different
database?

You need distributed transactions. Search for JTA and "XA transactions".

Dan.
 
R

Roedy Green

Can one single transaction contain connections to several different
database?

If you do it with separate connections to each database, each
connection knows nothing about the others. You need a tool that makes
several distributed databases look like one to your app.

This is the sort of thing you use EJB and JTA for. See
http://mindprod.com/jgloss/ejb.html
http://mindprod.com/jgloss/jta.html

You might see what comes up when you google on "JDBC connection
pooling".
 
R

Roedy Green

For some reason Telus is rejecting posts that contain blank lines or a
mention of whom I am replying to. So I have been forced for now to
scrunch up the messages. I will sign up again with Forte Agent
newsserver, but that will take a while.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top