aspose file tools
The moose likes JDBC and the fly likes Data Source  Vs  Transaction Data Source Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Data Source  Vs  Transaction Data Source" Watch "Data Source  Vs  Transaction Data Source" New topic
Author

Data Source Vs Transaction Data Source

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1303
What is the difference between Data Source and Transaction Data Source?
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1348
Hmmmm, sounds like Data Source that supports transactions. Can you provide more context or details for your question?
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Originally posted by kri shan:
What is the difference between Data Source and Transaction Data Source?


If you want to use two phase commit (2PC) then Transaction Data Source need to be used.

If you are using small application which used only single database transaction then go for Data Source.

Please correct me if I am wrong.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Data Source Vs Transaction Data Source
 
Similar Threads
transaction in ejb vs jdbc
how reliable JDBC Transaction?
setAutoCommit - URGENT.....
Setting BEA Transaction isolation level
what is the diff betwn DataSource and TxDatasource