|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A generic SQL Event.
SQLExecutionListener.eventOccurred(SQLExecutionEvent)| Field Summary | |
static short |
AFTER_CLOSE
Type code indicating that a Connection was just closed. |
static short |
AFTER_CLOSE_RESULTSET
Type code indicating that a ResultSet was just closed. |
static short |
AFTER_COMMIT
Type code indicating that a Connection was just committed. |
static short |
AFTER_CONNECT
Type code indicating that a Connection has been opened. |
static short |
AFTER_EXECUTE_STATEMENT
Type code indicating that a Statement completed execution. |
static short |
AFTER_ROLLBACK
Type code indicating that a rollback just occured. |
static short |
BEFORE_CLOSE
Type code indicating that a Connection is about to be closed. |
static short |
BEFORE_CLOSE_RESULTSET
Type code indicating that a ResultSet is about to be closed. |
static short |
BEFORE_COMMIT
Type code indicating that a Connection is about to be committed. |
static short |
BEFORE_CONNECT
Type code indicating that a Connection is about to be opened. |
static short |
BEFORE_EXECUTE_STATEMENT
Type code indicating that a Statement is about to be executed. |
static short |
BEFORE_ROLLBACK
Type code indicating that a rollback is about to occur. |
static short |
CREATING_STATEMENT
Type code indicating that a Statement is being created. |
static short |
PREPARING_STATEMENT
Type code indicating that a Statement is being prepared. |
| Method Summary | |
SQLExecutionEvent |
getAssociatedEvent()
|
Connection |
getConnection()
|
SQLExecutionManager |
getManager()
|
ResultSet |
getResultSet()
|
SQLBuffer[] |
getSQLBuffer()
|
Statement |
getStatement()
|
long |
getTime()
|
short |
getType()
|
| Field Detail |
public static final short PREPARING_STATEMENT
Statement is being prepared.public static final short CREATING_STATEMENT
Statement is being created.public static final short BEFORE_EXECUTE_STATEMENT
Statement is about to be executed.public static final short AFTER_EXECUTE_STATEMENT
Statement completed execution.public static final short BEFORE_COMMIT
Connection is about to be committed.public static final short AFTER_COMMIT
Connection was just committed.public static final short BEFORE_ROLLBACK
public static final short AFTER_ROLLBACK
public static final short BEFORE_CLOSE
Connection is about to be closed.public static final short AFTER_CLOSE
Connection was just closed.public static final short BEFORE_CLOSE_RESULTSET
ResultSet is about to be closed.public static final short AFTER_CLOSE_RESULTSET
ResultSet was just closed.public static final short BEFORE_CONNECT
Connection is about to be opened.public static final short AFTER_CONNECT
Connection has been opened.| Method Detail |
public short getType()
public Statement getStatement()
public Connection getConnection()
public long getTime()
public SQLExecutionManager getManager()
SQLExecutionManager implementation that
caused this event.public ResultSet getResultSet()
public SQLBuffer[] getSQLBuffer()
SQLBuffers for this event, may be null for events
unrelated to SQL activity.public SQLExecutionEvent getAssociatedEvent()
SQLExecutionEvent for this event.
For AFTER_XXX events, this will typically be the
SQLExecutionEvent that was created in the
BEFORE_XXX stage. This may be null when
an association is not appropriate for the event.
|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||