# Hierarchy For Package java.sql

Package Hierarchies:

- All Packages

## Class Hierarchy

- java.lang.Object
  - java.util.Date (implements java.lang.Cloneable, java.lang.Comparable<T>, java.io.Serializable)
    - java.sql.Date
    - java.sql.Time
    - java.sql.Timestamp
  - java.sql.DriverManager
  - java.sql.DriverPropertyInfo
  - java.security.Permission (implements java.security.Guard, java.io.Serializable)
    - java.security.BasicPermission (implements java.io.Serializable)
      - java.sql.SQLPermission
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - java.sql.SQLException (implements java.lang.Iterable<T>)
        - java.sql.BatchUpdateException
        - java.sql.SQLClientInfoException
        - java.sql.SQLNonTransientException
          - java.sql.SQLDataException
          - java.sql.SQLFeatureNotSupportedException
          - java.sql.SQLIntegrityConstraintViolationException
          - java.sql.SQLInvalidAuthorizationSpecException
          - java.sql.SQLNonTransientConnectionException
          - java.sql.SQLSyntaxErrorException
        - java.sql.SQLRecoverableException
        - java.sql.SQLTransientException
          - java.sql.SQLTimeoutException
          - java.sql.SQLTransactionRollbackException
          - java.sql.SQLTransientConnectionException
        - java.sql.SQLWarning
          - java.sql.DataTruncation
  - java.sql.Types

## Interface Hierarchy

- java.sql.Array
- java.lang.AutoCloseable
  - java.sql.Connection (also extends java.sql.Wrapper)
  - java.sql.ResultSet (also extends java.sql.Wrapper)
  - java.sql.Statement (also extends java.sql.Wrapper)
    - java.sql.PreparedStatement
      - java.sql.CallableStatement
- java.sql.Blob
- java.sql.Clob
  - java.sql.NClob
- java.sql.Driver
- java.sql.DriverAction
- java.sql.Ref
- java.sql.RowId
- java.sql.Savepoint
- java.sql.SQLData
- java.sql.SQLInput
- java.sql.SQLOutput
- java.sql.SQLType
- java.sql.SQLXML
- java.sql.Struct
- java.sql.Wrapper
  - java.sql.Connection (also extends java.lang.AutoCloseable)
  - java.sql.DatabaseMetaData
  - java.sql.ParameterMetaData
  - java.sql.ResultSet (also extends java.lang.AutoCloseable)
  - java.sql.ResultSetMetaData
  - java.sql.Statement (also extends java.lang.AutoCloseable)
    - java.sql.PreparedStatement
      - java.sql.CallableStatement

## Enum Hierarchy

- java.lang.Object
  - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
    - java.sql.JDBCType (implements java.sql.SQLType)
    - java.sql.PseudoColumnUsage
    - java.sql.ClientInfoStatus
    - java.sql.RowIdLifetime

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.