wood burning stoves 2.0*
The moose likes JDBC and the fly likes diff between java.sql.* and javax.sql.*? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "diff between java.sql.* and javax.sql.*?" Watch "diff between java.sql.* and javax.sql.*?" New topic
Author

diff between java.sql.* and javax.sql.*?

ravi v kumar
Ranch Hand

Joined: Dec 14, 2004
Posts: 56
hi all
my question seems to be silly...

what varies between the packages java.sql.* and javax.sql.*

and what is use of XAConnection class

with regards
rk
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

javax.sql.* is basically extensions to JDBC that were made necessary by J2EE requirements.

XAConnection is there so you can use distributed transactions - i.e. transactions which span more than one DataSource.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

"vavilipalli rk",

We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
ravi v kumar
Ranch Hand

Joined: Dec 14, 2004
Posts: 56
hi

i am one more question?

what is rowset ?

and how it is different from resultset

and is the connection to db can be done my rowset without DriverManager and DataSource.

vth regards

rvk
ravi v kumar
Ranch Hand

Joined: Dec 14, 2004
Posts: 56
hi

i am one more question?

what is rowset ?

and how it is different from resultset

and is the connection to db can be done my rowset without DriverManager and DataSource.

vth regards

rvk
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: diff between java.sql.* and javax.sql.*?