Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (6.1k points)
What's the difference between javax.sql and java.sql. I guess that javax.sql is for JavaEE or am I wrong?

I am trying with understanding this difference and the usage scenarios.

1 Answer

0 votes
by (12.7k points)

It used to be that javax.sql was for the JDBC extensions that were in the Java EE and not Java SE, however, this modified as of JDBC 3.

Presently both packages are part of JDBC in Java SE, and the truth that there are two packages is now just a historical anomaly. 

The two packages remain to exist because deleting one would be causing backwards compatibility problems.

Looking for SQL Tutorial? Come and join the SQL Certification course to gain more knowledge on SQL.

Related questions

0 votes
1 answer
asked Jul 4, 2019 in SQL by Tech4ever (20.3k points)
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...