javax.sql
Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
CommonDataSource |
Interface that defines the methods which are common between DataSource ,
XADataSource and ConnectionPoolDataSource . |
ConnectionEventListener |
An object that registers to be notified of events generated by a
PooledConnection object. |
ConnectionPoolDataSource |
A factory for PooledConnection
objects. |
DataSource |
A factory for connections to the physical data source that this
DataSource object represents. |
PooledConnection |
An object that provides hooks for connection pool management. |
RowSet |
The interface that adds support to the JDBC API for the
JavaBeansTM component model. |
RowSetInternal |
The interface that a RowSet object implements in order to
present itself to a RowSetReader or RowSetWriter
object. |
RowSetListener |
An interface that must be implemented by a
component that wants to be notified when a significant
event happens in the life of a RowSet object. |
RowSetMetaData |
An object that contains information about the columns in a
RowSet object. |
RowSetReader |
The facility that a disconnected RowSet object calls on
to populate itself with rows of data. |
RowSetWriter |
An object that implements the RowSetWriter interface,
called a writer. |
StatementEventListener |
An object that registers to be notified of events that occur on PreparedStatements
that are in the Statement pool. |
Classes
ConnectionEvent |
An Event object that provides information about the
source of a connection-related event. |
RowSetEvent |
An Event object generated when an event occurs to a
RowSet object. |
StatementEvent |
A StatementEvent is sent to all StatementEventListener s which were
registered with a PooledConnection . |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ejavax.sql\u003c/code\u003e package provides interfaces and classes for interacting with data sources, including connection pooling and event management.\u003c/p\u003e\n"],["\u003cp\u003eKey interfaces define factories for connections (\u003ccode\u003eDataSource\u003c/code\u003e, \u003ccode\u003eConnectionPoolDataSource\u003c/code\u003e), manage pooled connections (\u003ccode\u003ePooledConnection\u003c/code\u003e), and enable disconnected data access (\u003ccode\u003eRowSet\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eEvent listener interfaces like \u003ccode\u003eConnectionEventListener\u003c/code\u003e and \u003ccode\u003eStatementEventListener\u003c/code\u003e allow for monitoring connection and statement events.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRowSet\u003c/code\u003e objects, combined with readers and writers, enable manipulating data independently of the data source.\u003c/p\u003e\n"],["\u003cp\u003eThe package leverages the JavaBeans component model for integration with other Java technologies.\u003c/p\u003e\n"]]],["The content outlines Java interfaces and classes for SQL data handling. Key interfaces include `DataSource` (a connection factory), `PooledConnection` (for pool management), and various `RowSet` interfaces that support the JavaBeans component model, like data population (`RowSetReader`) and updates (`RowSetWriter`). Listeners such as `ConnectionEventListener`, `RowSetListener`, and `StatementEventListener` handle events related to connections, `RowSets`, and statements, respectively. `CommonDataSource` is a base for data sources. The classes `ConnectionEvent`, `RowSetEvent`, and `StatementEvent` offer information about events.\n"],null,["Interfaces \n\n|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CommonDataSource](../../../reference/javax/sql/CommonDataSource.html) | Interface that defines the methods which are common between `DataSource`, `XADataSource` and `ConnectionPoolDataSource`. |\n| [ConnectionEventListener](../../../reference/javax/sql/ConnectionEventListener.html) | An object that registers to be notified of events generated by a `PooledConnection` object. |\n| [ConnectionPoolDataSource](../../../reference/javax/sql/ConnectionPoolDataSource.html) | A factory for `PooledConnection` objects. |\n| [DataSource](../../../reference/javax/sql/DataSource.html) | A factory for connections to the physical data source that this `DataSource` object represents. |\n| [PooledConnection](../../../reference/javax/sql/PooledConnection.html) | An object that provides hooks for connection pool management. |\n| [RowSet](../../../reference/javax/sql/RowSet.html) | The interface that adds support to the JDBC API for the JavaBeans^TM^ component model. |\n| [RowSetInternal](../../../reference/javax/sql/RowSetInternal.html) | The interface that a `RowSet` object implements in order to present itself to a `RowSetReader` or `RowSetWriter` object. |\n| [RowSetListener](../../../reference/javax/sql/RowSetListener.html) | An interface that must be implemented by a component that wants to be notified when a significant event happens in the life of a `RowSet` object. |\n| [RowSetMetaData](../../../reference/javax/sql/RowSetMetaData.html) | An object that contains information about the columns in a `RowSet` object. |\n| [RowSetReader](../../../reference/javax/sql/RowSetReader.html) | The facility that a disconnected `RowSet` object calls on to populate itself with rows of data. |\n| [RowSetWriter](../../../reference/javax/sql/RowSetWriter.html) | An object that implements the `RowSetWriter` interface, called a *writer*. |\n| [StatementEventListener](../../../reference/javax/sql/StatementEventListener.html) | An object that registers to be notified of events that occur on PreparedStatements that are in the Statement pool. |\n\nClasses \n\n|----------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| [ConnectionEvent](../../../reference/javax/sql/ConnectionEvent.html) | An `Event` object that provides information about the source of a connection-related event. |\n| [RowSetEvent](../../../reference/javax/sql/RowSetEvent.html) | An `Event` object generated when an event occurs to a `RowSet` object. |\n| [StatementEvent](../../../reference/javax/sql/StatementEvent.html) | A `StatementEvent` is sent to all `StatementEventListener`s which were registered with a `PooledConnection`. |"]]