API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql. StatementEvent View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      EventObject
          StatementEvent
Implements
Subclasses
Description
public class StatementEvent
  A StatementEvent is sent to all StatementEventListeners which were registered with a PooledConnection.
See also:   
Constructors
public StatementEvent (PooledConnection con, PreparedStatement statement)
  Constructs a StatementEvent with the specified PooledConnection and PreparedStatement.
public StatementEvent (PooledConnection con, PreparedStatement statement, SQLException exception)
  Constructs a StatementEvent with the specified PooledConnection, PreparedStatement and SQLException
Methods
Hide/Show inherited methods
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
public SQLException getSQLException ()
  Returns the SQLException the driver is about to throw
public PreparedStatement getStatement ()
  Returns the PreparedStatement that is being closed or is invalid
public String toString () [Inherited From EventObject]
  Returns a String representation of this EventObject.
Fields
Hide/Show inherited fields
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar