Wednesday, 1 October 2014

Core Classes/Interfaces in sql package

Classes :
java.sql.DriverManager : Responsible to load the jdbc driver classes and to create Connection object.

Interfaces:
java.sql.Connection: Interface represents a database connection. SQL statements are executed and results are returned within the context of a connection.

java.sql.Statement: The object used for executing a static SQL statement and returning the results it produces.

java.sql.PreparedStatement : Represents a precompiled SQL statement.A SQL statement is precompiled and stored in a PreparedStatement object. This object can then be used to efficiently execute this statement multiple times.

java.sql.CallableStatement : The interface used to execute SQL stored procedures.

java.sql.ResultSet : A table of data representing a database result set, which is usually generated by executing a statement that queries the database.




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment