Name
Package java.sql
Synopsis
The java.sql
package contains the core JDBC
3.0 API that is used for sending SQL (Structured Query Language)
statements to relational databases and for retrieving the results of
executing those SQL statements. The JDBC API intially became part of the Java API in
Java 1.1. JDBC 3.0 is part of the J2SE version 1.4.
The Driver
interface represents a specific JDBC implementation for a particular database system. Connection
represents a connection to a database. The Statement
, PreparedStatement
, and CallableStatement
interfaces support the execution of various kinds of SQL statements. ResultSet
is a set of results returned by the database in response to a SQL query. The ResultSetMetaData
interface provides metadata about a result set, while DatabaseMetaData
provides metadata about the database as a whole.
Interfaces
Array
Blob
CallableStatement
Clob
Connection
DatabaseMetaData
Driver
ParameterMetaData
PreparedStatement
Ref
ResultSet
ResultSetMetaData
Savepoint
SQLData
SQLInput
SQLOutput
Statement
Struct
Classes
Date
DriverManager
DriverPropertyInfo
SQLPermission
Time
Timestamp
Types
Exceptions
SQLException
BatchUpdateException
SQLWarning
DataTruncation
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.