<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0) on Tue Nov 06 17:41:02 CST 2007 --> | |
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<TITLE> | |
JDBCEvent (OpenJPA 1.0.1 API) | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.openjpa.lib.jdbc.JDBCEvent class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="JDBCEvent (OpenJPA 1.0.1 API)"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JDBCEvent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingStatement.html" title="class in org.apache.openjpa.lib.jdbc"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEventConnectionDecorator.html" title="class in org.apache.openjpa.lib.jdbc"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/openjpa/lib/jdbc/JDBCEvent.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="JDBCEvent.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<A NAME="main"></A> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.openjpa.lib.jdbc</FONT> | |
<BR> | |
Class JDBCEvent</H2> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/EventObject.html" title="class or interface in java.util">java.util.EventObject</A> | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.lib.jdbc.JDBCEvent</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <B>JDBCEvent</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A></DL> | |
</PRE> | |
<P> | |
A JDBC event. The event source will be the connection. | |
<P> | |
<P> | |
<DL> | |
<DT><B>Author:</B></DT> | |
<DD>Marc Prud'hommeaux, Abe White</DD> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCListener.html" title="interface in org.apache.openjpa.lib.jdbc"><CODE>JDBCListener</CODE></A>, | |
<A HREF="../../../../../serialized-form.html#org.apache.openjpa.lib.jdbc.JDBCEvent">Serialized Form</A></DL> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#AFTER_COMMIT">AFTER_COMMIT</A></B></CODE> | |
<BR> | |
Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql"><CODE>Connection</CODE></A> was just committed.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#AFTER_CONNECT">AFTER_CONNECT</A></B></CODE> | |
<BR> | |
Type code indicating that a connection was obtained.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#AFTER_CREATE_STATEMENT">AFTER_CREATE_STATEMENT</A></B></CODE> | |
<BR> | |
Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is being created.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#AFTER_EXECUTE_STATEMENT">AFTER_EXECUTE_STATEMENT</A></B></CODE> | |
<BR> | |
Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> completed execution.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#AFTER_PREPARE_STATEMENT">AFTER_PREPARE_STATEMENT</A></B></CODE> | |
<BR> | |
Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is being prepared.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#AFTER_ROLLBACK">AFTER_ROLLBACK</A></B></CODE> | |
<BR> | |
Type code indicating that a rollback just occured.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#BEFORE_CLOSE">BEFORE_CLOSE</A></B></CODE> | |
<BR> | |
Type code indicating that a connection was closed.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#BEFORE_COMMIT">BEFORE_COMMIT</A></B></CODE> | |
<BR> | |
Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql"><CODE>Connection</CODE></A> is about to be committed.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#BEFORE_CREATE_STATEMENT">BEFORE_CREATE_STATEMENT</A></B></CODE> | |
<BR> | |
Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is being created.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#BEFORE_EXECUTE_STATEMENT">BEFORE_EXECUTE_STATEMENT</A></B></CODE> | |
<BR> | |
Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is about to be executed.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#BEFORE_PREPARE_STATEMENT">BEFORE_PREPARE_STATEMENT</A></B></CODE> | |
<BR> | |
Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is being prepared.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#BEFORE_ROLLBACK">BEFORE_ROLLBACK</A></B></CODE> | |
<BR> | |
Type code indicating that a rollback is about to occur.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="fields_inherited_from_class_java.util.EventObject"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Fields inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/EventObject.html#source" title="class or interface in java.util">source</A></CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#JDBCEvent(java.sql.Connection, short, org.apache.openjpa.lib.jdbc.JDBCEvent, java.sql.Statement, java.lang.String)">JDBCEvent</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> source, | |
short type, | |
<A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html" title="class in org.apache.openjpa.lib.jdbc">JDBCEvent</A> associatedEvent, | |
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql">Statement</A> statement, | |
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql)</CODE> | |
<BR> | |
Constructor.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html" title="class in org.apache.openjpa.lib.jdbc">JDBCEvent</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#getAssociatedEvent()">getAssociatedEvent</A></B>()</CODE> | |
<BR> | |
Return the associated <A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>JDBCEvent</CODE></A> for this event.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#getConnection()">getConnection</A></B>()</CODE> | |
<BR> | |
Return the Connection for this event.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#getSQL()">getSQL</A></B>()</CODE> | |
<BR> | |
Return the SQL associated with this event; may be null.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql">Statement</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#getStatement()">getStatement</A></B>()</CODE> | |
<BR> | |
Return the Statement for this event, may be null for events | |
unrelated to Statement execution.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> long</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#getTime()">getTime</A></B>()</CODE> | |
<BR> | |
Return the time the event was constructed.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html#getType()">getType</A></B>()</CODE> | |
<BR> | |
Return the event's type code.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.util.EventObject"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/EventObject.html#getSource()" title="class or interface in java.util">getSource</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/EventObject.html#toString()" title="class or interface in java.util">toString</A></CODE></TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="BEFORE_PREPARE_STATEMENT"><!-- --></A><H3> | |
BEFORE_PREPARE_STATEMENT</H3> | |
<PRE> | |
public static final short <B>BEFORE_PREPARE_STATEMENT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is being prepared. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.BEFORE_PREPARE_STATEMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="AFTER_PREPARE_STATEMENT"><!-- --></A><H3> | |
AFTER_PREPARE_STATEMENT</H3> | |
<PRE> | |
public static final short <B>AFTER_PREPARE_STATEMENT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is being prepared. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.AFTER_PREPARE_STATEMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="BEFORE_CREATE_STATEMENT"><!-- --></A><H3> | |
BEFORE_CREATE_STATEMENT</H3> | |
<PRE> | |
public static final short <B>BEFORE_CREATE_STATEMENT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is being created. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.BEFORE_CREATE_STATEMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="AFTER_CREATE_STATEMENT"><!-- --></A><H3> | |
AFTER_CREATE_STATEMENT</H3> | |
<PRE> | |
public static final short <B>AFTER_CREATE_STATEMENT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is being created. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.AFTER_CREATE_STATEMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="BEFORE_EXECUTE_STATEMENT"><!-- --></A><H3> | |
BEFORE_EXECUTE_STATEMENT</H3> | |
<PRE> | |
public static final short <B>BEFORE_EXECUTE_STATEMENT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> is about to be executed. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.BEFORE_EXECUTE_STATEMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="AFTER_EXECUTE_STATEMENT"><!-- --></A><H3> | |
AFTER_EXECUTE_STATEMENT</H3> | |
<PRE> | |
public static final short <B>AFTER_EXECUTE_STATEMENT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql"><CODE>Statement</CODE></A> completed execution. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.AFTER_EXECUTE_STATEMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="BEFORE_COMMIT"><!-- --></A><H3> | |
BEFORE_COMMIT</H3> | |
<PRE> | |
public static final short <B>BEFORE_COMMIT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql"><CODE>Connection</CODE></A> is about to be committed. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.BEFORE_COMMIT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="AFTER_COMMIT"><!-- --></A><H3> | |
AFTER_COMMIT</H3> | |
<PRE> | |
public static final short <B>AFTER_COMMIT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql"><CODE>Connection</CODE></A> was just committed. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.AFTER_COMMIT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="BEFORE_ROLLBACK"><!-- --></A><H3> | |
BEFORE_ROLLBACK</H3> | |
<PRE> | |
public static final short <B>BEFORE_ROLLBACK</B></PRE> | |
<DL> | |
<DD>Type code indicating that a rollback is about to occur. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.BEFORE_ROLLBACK">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="AFTER_ROLLBACK"><!-- --></A><H3> | |
AFTER_ROLLBACK</H3> | |
<PRE> | |
public static final short <B>AFTER_ROLLBACK</B></PRE> | |
<DL> | |
<DD>Type code indicating that a rollback just occured. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.AFTER_ROLLBACK">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="AFTER_CONNECT"><!-- --></A><H3> | |
AFTER_CONNECT</H3> | |
<PRE> | |
public static final short <B>AFTER_CONNECT</B></PRE> | |
<DL> | |
<DD>Type code indicating that a connection was obtained. This does | |
not necessarily mean that the connection is new if pooling is enabled. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.AFTER_CONNECT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="BEFORE_CLOSE"><!-- --></A><H3> | |
BEFORE_CLOSE</H3> | |
<PRE> | |
public static final short <B>BEFORE_CLOSE</B></PRE> | |
<DL> | |
<DD>Type code indicating that a connection was closed. This does | |
not necessarily mean that the underlying database connection was | |
severed if pooling is enabled. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.openjpa.lib.jdbc.JDBCEvent.BEFORE_CLOSE">Constant Field Values</A></DL> | |
</DL> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="JDBCEvent(java.sql.Connection, short, org.apache.openjpa.lib.jdbc.JDBCEvent, java.sql.Statement, java.lang.String)"><!-- --></A><H3> | |
JDBCEvent</H3> | |
<PRE> | |
public <B>JDBCEvent</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> source, | |
short type, | |
<A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html" title="class in org.apache.openjpa.lib.jdbc">JDBCEvent</A> associatedEvent, | |
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql">Statement</A> statement, | |
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> sql)</PRE> | |
<DL> | |
<DD>Constructor. | |
<P> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="getType()"><!-- --></A><H3> | |
getType</H3> | |
<PRE> | |
public final short <B>getType</B>()</PRE> | |
<DL> | |
<DD>Return the event's type code. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getConnection()"><!-- --></A><H3> | |
getConnection</H3> | |
<PRE> | |
public final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> <B>getConnection</B>()</PRE> | |
<DL> | |
<DD>Return the Connection for this event. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getTime()"><!-- --></A><H3> | |
getTime</H3> | |
<PRE> | |
public final long <B>getTime</B>()</PRE> | |
<DL> | |
<DD>Return the time the event was constructed. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getAssociatedEvent()"><!-- --></A><H3> | |
getAssociatedEvent</H3> | |
<PRE> | |
public final <A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html" title="class in org.apache.openjpa.lib.jdbc">JDBCEvent</A> <B>getAssociatedEvent</B>()</PRE> | |
<DL> | |
<DD>Return the associated <A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEvent.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>JDBCEvent</CODE></A> for this event. | |
For AFTER_XXX events, this will typically be the JDBCEvent | |
that was created in the BEFORE_XXX stage. This may be null when | |
an association is not appropriate for the event. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getSQL()"><!-- --></A><H3> | |
getSQL</H3> | |
<PRE> | |
public final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSQL</B>()</PRE> | |
<DL> | |
<DD>Return the SQL associated with this event; may be null. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getStatement()"><!-- --></A><H3> | |
getStatement</H3> | |
<PRE> | |
public final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html" title="class or interface in java.sql">Statement</A> <B>getStatement</B>()</PRE> | |
<DL> | |
<DD>Return the Statement for this event, may be null for events | |
unrelated to Statement execution. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JDBCEvent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingStatement.html" title="class in org.apache.openjpa.lib.jdbc"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/openjpa/lib/jdbc/JDBCEventConnectionDecorator.html" title="class in org.apache.openjpa.lib.jdbc"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/openjpa/lib/jdbc/JDBCEvent.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="JDBCEvent.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
Copyright © 2006-2007 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. | |
</BODY> | |
</HTML> |