You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2008/12/23 03:16:28 UTC

svn commit: r728848 - in /tomcat/trunk/modules/jdbc-pool: doc/jdbc-pool.xml sign.sh

Author: fhanik
Date: Mon Dec 22 18:16:28 2008
New Revision: 728848

URL: http://svn.apache.org/viewvc?rev=728848&view=rev
Log:
update version

Modified:
    tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
    tomcat/trunk/modules/jdbc-pool/sign.sh

Modified: tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml?rev=728848&r1=728847&r2=728848&view=diff
==============================================================================
--- tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Mon Dec 22 18:16:28 2008
@@ -624,7 +624,17 @@
         </source>
     </p>
   </subsection>
-  
+  <subsection name="Getting the actual JDBC connection">
+    <p>Connection pools create wrappers around the actual connection in order to properly pool them.
+       We also create interceptors in these wrappers to be able to perform certain functions.
+       If there is a need to retrieve the actual connection, one can do so using the <code>javax.sql.PooledConnection</code>
+       interface.
+       <source>
+          Connection con = datasource.getConnection();
+          Connection actual = ((javax.sql.PooledConnection)con).getConnection();
+       </source>
+    </p>
+  </subsection>
   
 </section>
 

Modified: tomcat/trunk/modules/jdbc-pool/sign.sh
URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/sign.sh?rev=728848&r1=728847&r2=728848&view=diff
==============================================================================
--- tomcat/trunk/modules/jdbc-pool/sign.sh (original)
+++ tomcat/trunk/modules/jdbc-pool/sign.sh Mon Dec 22 18:16:28 2008
@@ -1,4 +1,4 @@
-VERSION=v1.0.10-beta
+VERSION=v1.0.11-beta
 for i in $(find output/release/$VERSION -name "*.zip" -o -name "*.tar.gz"); do
   echo Signing $i
   echo $1|gpg --passphrase-fd 0 -a -b $i



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org