The JDBC API Components

JDBC API components are:


1. DriverManager
2. Driver
3. Connection
4. Statement
5. ResulltSet
6. SQLException


1. DriverManager:

  • This class manages a list of database driver.
  • Find proper database driver.

2. Driver:

  • This interface handles the communication with the database server.

3. Connection:

  • This interface with all methods for connecting a database.

4. Statements:

  • This interface is used to submit the SQL statements to the database.

5. ResultSet:

  • These object hold data retrieved from a database after you execute an SQL query using statement object.

6. SQLException:

  • This class handles  any errors that occurs in a database Application.

No comments:

Post a Comment