❮ Previous Next ❯

JDBC Components

The JDBC API provides the following interfaces and classes:

  1. DriverManager
  2. Driver
  3. Connection
  4. Statement
  5. ResultSet
  6. SQLException
  1. DriverManager:This class manages a list of database drivers. Matches connection requests from the java application with the proper database driver using communication subprotocol. The first driver that recognizes a certain subprotocol under JDBC will be used to establish a database Connection.

  2. Driver:This interface handles the communications with the database server. You will interact directly with Driver objects very rarely. Instead, you use DriverManager objects, which manages objects of this type. It also abstracts the details associated with working with Driver objects

  3. Connection:This interface with all methods for contacting a database. The connection object represents communication context i.e. all communication with database is through connection object only.

  4. Statement:You use objects created from this interface to submit the SQL statements to the database. Some derived interfaces accept parameters in addition to executing stored procedures.

  5. ResultSet:These objects hold data retrieved from a database after you execute an SQL query using Statement objects. It acts as an iterator to allow you to move through its data.

  6. SQLException:This class handles any errors that occur in a database application.

❮ Previous Next ❯

Follow Us


Popular Links

Contact Us

address Plot No-741,2ND Floor
Opp. Bhagabati Temple,Jayadev Vihar
      Email: info@silantechnology.com
      Phone: 0674-2361252
39877, sundale dr, apt#101, Fremont, California 94538, USA
       Phone: +1(262)388-7619

facebook twitter google linked in

© 2018 Silan Technology. All Rights Reserved