| <!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_22) on Thu Aug 26 09:51:09 CDT 2010 --> |
| <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <TITLE> |
| JDBCStoreManager.RefCountConnection (OpenJPA 1.0.4 API) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.openjpa.jdbc.kernel.JDBCStoreManager.RefCountConnection class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="JDBCStoreManager.RefCountConnection (OpenJPA 1.0.4 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"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JDBCStoreManager.RefCountConnection.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/jdbc/kernel/JDBCStoreManager.html" title="class in org.apache.openjpa.jdbc.kernel"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreQuery.html" title="class in org.apache.openjpa.jdbc.kernel"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JDBCStoreManager.RefCountConnection.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <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> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.openjpa.jdbc.kernel</FONT> |
| <BR> |
| Class JDBCStoreManager.RefCountConnection</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="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html" title="class in org.apache.openjpa.lib.jdbc">org.apache.openjpa.lib.jdbc.DelegatingConnection</A> |
| <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.jdbc.kernel.JDBCStoreManager.RefCountConnection</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><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>, <A HREF="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</A></DD> |
| </DL> |
| <DL> |
| <DT><B>Enclosing class:</B><DD><A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.html" title="class in org.apache.openjpa.jdbc.kernel">JDBCStoreManager</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>protected class <B>JDBCStoreManager.RefCountConnection</B><DT>extends <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html" title="class in org.apache.openjpa.lib.jdbc">DelegatingConnection</A></DL> |
| </PRE> |
| |
| <P> |
| Connection wrapper that keeps an internal ref count so that it knows |
| when to really close. |
| <P> |
| |
| <P> |
| <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> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_java.sql.Connection"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface java.sql.<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></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#TRANSACTION_NONE" title="class or interface in java.sql">TRANSACTION_NONE</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#TRANSACTION_READ_COMMITTED" title="class or interface in java.sql">TRANSACTION_READ_COMMITTED</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#TRANSACTION_READ_UNCOMMITTED" title="class or interface in java.sql">TRANSACTION_READ_UNCOMMITTED</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#TRANSACTION_REPEATABLE_READ" title="class or interface in java.sql">TRANSACTION_REPEATABLE_READ</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#TRANSACTION_SERIALIZABLE" title="class or interface in java.sql">TRANSACTION_SERIALIZABLE</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/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#JDBCStoreManager.RefCountConnection(java.sql.Connection)">JDBCStoreManager.RefCountConnection</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> conn)</CODE> |
| |
| <BR> |
| </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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#close()">close</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <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/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#createStatement(boolean)">createStatement</A></B>(boolean wrap)</CODE> |
| |
| <BR> |
| Create a statement, with the option of not wrapping it in a |
| <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingStatement.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>DelegatingStatement</CODE></A>, which is the default.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <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/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#createStatement(int, int, boolean)">createStatement</A></B>(int rsType, |
| int rsConcur, |
| boolean wrap)</CODE> |
| |
| <BR> |
| Create a statement, with the option of not wrapping it in a |
| <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingStatement.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>DelegatingStatement</CODE></A>, which is the default.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#free()">free</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#getRetain()">getRetain</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#prepareStatement(java.lang.String, boolean)">prepareStatement</A></B>(<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, |
| boolean wrap)</CODE> |
| |
| <BR> |
| Prepare a statement, with the option of not wrapping it in a |
| <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingPreparedStatement.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>DelegatingPreparedStatement</CODE></A>, which is the default.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#prepareStatement(java.lang.String, int, int, boolean)">prepareStatement</A></B>(<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, |
| int rsType, |
| int rsConcur, |
| boolean wrap)</CODE> |
| |
| <BR> |
| Prepare a statement, with the option of not wrapping it in a |
| <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingPreparedStatement.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>DelegatingPreparedStatement</CODE></A>, which is the default.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#ref()">ref</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html#setRetain(boolean)">setRetain</A></B>(boolean retain)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.openjpa.lib.jdbc.DelegatingConnection"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.apache.openjpa.lib.jdbc.<A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html" title="class in org.apache.openjpa.lib.jdbc">DelegatingConnection</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#appendInfo(java.lang.StringBuffer)">appendInfo</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#clearWarnings()">clearWarnings</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#commit()">commit</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#createStatement()">createStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#createStatement(int, int)">createStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#createStatement(int, int, int)">createStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#createStatement(int, int, int, boolean)">createStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getAutoCommit()">getAutoCommit</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getCatalog()">getCatalog</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getDelegate()">getDelegate</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getHoldability()">getHoldability</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getInnermostDelegate()">getInnermostDelegate</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getMetaData()">getMetaData</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getMetaData(boolean)">getMetaData</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getTransactionIsolation()">getTransactionIsolation</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getTypeMap()">getTypeMap</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#getWarnings()">getWarnings</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#hashCode()">hashCode</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#isClosed()">isClosed</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#isReadOnly()">isReadOnly</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#nativeSQL(java.lang.String)">nativeSQL</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareCall(java.lang.String)">prepareCall</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareCall(java.lang.String, boolean)">prepareCall</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareCall(java.lang.String, int, int)">prepareCall</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareCall(java.lang.String, int, int, boolean)">prepareCall</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareCall(java.lang.String, int, int, int)">prepareCall</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareCall(java.lang.String, int, int, int, boolean)">prepareCall</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String)">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int)">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int[])">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int[], boolean)">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int, boolean)">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int, int)">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int, int, int)">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int, int, int, boolean)">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, java.lang.String[])">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, java.lang.String[], boolean)">prepareStatement</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#releaseSavepoint(java.sql.Savepoint)">releaseSavepoint</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#rollback()">rollback</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#rollback(java.sql.Savepoint)">rollback</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#setAutoCommit(boolean)">setAutoCommit</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#setCatalog(java.lang.String)">setCatalog</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#setHoldability(int)">setHoldability</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#setReadOnly(boolean)">setReadOnly</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#setSavepoint()">setSavepoint</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#setSavepoint(java.lang.String)">setSavepoint</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#setTransactionIsolation(int)">setTransactionIsolation</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#setTypeMap(java.util.Map)">setTypeMap</A>, <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#toString()">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#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#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> |
| |
| <!-- ========= 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="JDBCStoreManager.RefCountConnection(java.sql.Connection)"><!-- --></A><H3> |
| JDBCStoreManager.RefCountConnection</H3> |
| <PRE> |
| public <B>JDBCStoreManager.RefCountConnection</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> conn)</PRE> |
| <DL> |
| </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="getRetain()"><!-- --></A><H3> |
| getRetain</H3> |
| <PRE> |
| public boolean <B>getRetain</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRetain(boolean)"><!-- --></A><H3> |
| setRetain</H3> |
| <PRE> |
| public void <B>setRetain</B>(boolean retain)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="ref()"><!-- --></A><H3> |
| ref</H3> |
| <PRE> |
| public void <B>ref</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="close()"><!-- --></A><H3> |
| close</H3> |
| <PRE> |
| public void <B>close</B>() |
| throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#close()" title="class or interface in java.sql">close</A></CODE> in interface <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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/util/Closeable.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util">Closeable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#close()">close</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html" title="class in org.apache.openjpa.lib.jdbc">DelegatingConnection</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="free()"><!-- --></A><H3> |
| free</H3> |
| <PRE> |
| public void <B>free</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createStatement(boolean)"><!-- --></A><H3> |
| createStatement</H3> |
| <PRE> |
| protected <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>createStatement</B>(boolean wrap) |
| throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#createStatement(boolean)">DelegatingConnection</A></CODE></B></DD> |
| <DD>Create a statement, with the option of not wrapping it in a |
| <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingStatement.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>DelegatingStatement</CODE></A>, which is the default. |
| <P> |
| <DD><DL> |
| <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#createStatement(boolean)">createStatement</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html" title="class in org.apache.openjpa.lib.jdbc">DelegatingConnection</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createStatement(int, int, boolean)"><!-- --></A><H3> |
| createStatement</H3> |
| <PRE> |
| protected <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>createStatement</B>(int rsType, |
| int rsConcur, |
| boolean wrap) |
| throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#createStatement(int, int, boolean)">DelegatingConnection</A></CODE></B></DD> |
| <DD>Create a statement, with the option of not wrapping it in a |
| <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingStatement.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>DelegatingStatement</CODE></A>, which is the default. |
| <P> |
| <DD><DL> |
| <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#createStatement(int, int, boolean)">createStatement</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html" title="class in org.apache.openjpa.lib.jdbc">DelegatingConnection</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="prepareStatement(java.lang.String, boolean)"><!-- --></A><H3> |
| prepareStatement</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A> <B>prepareStatement</B>(<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, |
| boolean wrap) |
| throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, boolean)">DelegatingConnection</A></CODE></B></DD> |
| <DD>Prepare a statement, with the option of not wrapping it in a |
| <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingPreparedStatement.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>DelegatingPreparedStatement</CODE></A>, which is the default. |
| <P> |
| <DD><DL> |
| <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, boolean)">prepareStatement</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html" title="class in org.apache.openjpa.lib.jdbc">DelegatingConnection</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="prepareStatement(java.lang.String, int, int, boolean)"><!-- --></A><H3> |
| prepareStatement</H3> |
| <PRE> |
| protected <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/PreparedStatement.html" title="class or interface in java.sql">PreparedStatement</A> <B>prepareStatement</B>(<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, |
| int rsType, |
| int rsConcur, |
| boolean wrap) |
| throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int, int, boolean)">DelegatingConnection</A></CODE></B></DD> |
| <DD>Prepare a statement, with the option of not wrapping it in a |
| <A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingPreparedStatement.html" title="class in org.apache.openjpa.lib.jdbc"><CODE>DelegatingPreparedStatement</CODE></A>, which is the default. |
| <P> |
| <DD><DL> |
| <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html#prepareStatement(java.lang.String, int, int, boolean)">prepareStatement</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/jdbc/DelegatingConnection.html" title="class in org.apache.openjpa.lib.jdbc">DelegatingConnection</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></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"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JDBCStoreManager.RefCountConnection.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/jdbc/kernel/JDBCStoreManager.html" title="class in org.apache.openjpa.jdbc.kernel"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/openjpa/jdbc/kernel/JDBCStoreQuery.html" title="class in org.apache.openjpa.jdbc.kernel"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/openjpa/jdbc/kernel/JDBCStoreManager.RefCountConnection.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JDBCStoreManager.RefCountConnection.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <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-2010 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |