java.lang.Object | ||
↳ | java.util.EventObject | |
↳ | javax.sql.StatementEvent |
A StatementEvent
is sent to all StatementEventListener
s which were
registered with a PooledConnection
. This occurs when the driver determines that a
PreparedStatement
that is associated with the PooledConnection
has been closed or the driver determines
is invalid.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a
StatementEvent with the specified PooledConnection and
PreparedStatement . | |||||||||||
Constructs a
StatementEvent with the specified PooledConnection ,
PreparedStatement and SQLException
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
SQLException the driver is about to throw
| |||||||||||
Returns the
PreparedStatement that is being closed or is invalid
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a StatementEvent
with the specified PooledConnection
and
PreparedStatement
. The SQLException
contained in the event defaults to
null.
con | The PooledConnection that the closed or invalid
PreparedStatement is associated with. |
---|---|
statement | The PreparedStatement that is bieng closed or is invalid
|
IllegalArgumentException | if con is null. |
---|
Constructs a StatementEvent
with the specified PooledConnection
,
PreparedStatement
and SQLException
con | The PooledConnection that the closed or invalid PreparedStatement
is associated with. |
---|---|
statement | The PreparedStatement that is being closed or is invalid |
exception | The SQLException the driver is about to throw to
the application |
IllegalArgumentException | if con is null.
|
---|
Returns the SQLException
the driver is about to throw
SQLException
the driver is about to throw
Returns the PreparedStatement
that is being closed or is invalid
PreparedStatement
that is being closed or is invalid