File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes about Jbdc driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "about Jbdc driver" Watch "about Jbdc driver" New topic

about Jbdc driver

Sujittt Tripathyrr
Ranch Hand

Joined: Jun 21, 2006
Posts: 96

I saw in weblogic server there are 2 types of type4 drive 1)Type 4 thin driver and another one id type 4 thin XA driver.So i want to know what is the difference between these two drivers.

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Both are type 4 (ie thin) drivers, the XA version means it supports distributed transactions ie it can join in with transactions from other databases or other transactional protocols using two phase commit (2PC)

XA database drivers are useful in EJBs since the transaction demarcation can span several types of transaction and you still need to provide an all-or-nothing guarantee.

Sujittt Tripathyrr
Ranch Hand

Joined: Jun 21, 2006
Posts: 96
Thanks David :p
I agree. Here's the link:
subject: about Jbdc driver