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.
No comments:
Post a Comment