You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/06/11 17:14:48 UTC

commons-dbcp git commit: Javadoc: 'sql' -> 'SQL' and add missing description for SQLException.

Repository: commons-dbcp
Updated Branches:
  refs/heads/master 126cfb02d -> b899784ff


Javadoc: 'sql' -> 'SQL' and add missing description for SQLException.

Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/b899784f
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/b899784f
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/b899784f

Branch: refs/heads/master
Commit: b899784ff00b4926ea33c9fc693786205c16cf84
Parents: 126cfb0
Author: Gary Gregory <ga...@gmail.com>
Authored: Mon Jun 11 11:14:45 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Mon Jun 11 11:14:45 2018 -0600

----------------------------------------------------------------------
 .../apache/commons/dbcp2/PoolingConnection.java | 34 ++++++++++++++------
 1 file changed, 25 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/b899784f/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java b/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
index 78c9ad1..1fabf89 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolingConnection.java
@@ -325,9 +325,12 @@ public class PoolingConnection extends DelegatingConnection<Connection>
 
     /**
      * Creates or obtains a {@link CallableStatement} from the pool.
-     * @param sql the sql string used to define the CallableStatement
+     * 
+     * @param sql
+     *            the SQL string used to define the CallableStatement
      * @return a {@link PoolableCallableStatement}
      * @throws SQLException
+     *             Wraps an underlying exception.
      */
     @Override
     public CallableStatement prepareCall(final String sql) throws SQLException {
@@ -344,11 +347,16 @@ public class PoolingConnection extends DelegatingConnection<Connection>
 
     /**
      * Creates or obtains a {@link CallableStatement} from the pool.
-     * @param sql the sql string used to define the CallableStatement
-     * @param resultSetType result set type
-     * @param resultSetConcurrency result set concurrency
+     * 
+     * @param sql
+     *            the SQL string used to define the CallableStatement
+     * @param resultSetType
+     *            result set type
+     * @param resultSetConcurrency
+     *            result set concurrency
      * @return a {@link PoolableCallableStatement}
      * @throws SQLException
+     *             Wraps an underlying exception.
      */
     @Override
     public CallableStatement prepareCall(final String sql, final int resultSetType, final int resultSetConcurrency) throws SQLException {
@@ -366,12 +374,18 @@ public class PoolingConnection extends DelegatingConnection<Connection>
 
     /**
      * Creates or obtains a {@link CallableStatement} from the pool.
-     * @param sql the sql string used to define the CallableStatement
-     * @param resultSetType result set type
-     * @param resultSetConcurrency result set concurrency
-     * @param resultSetHoldability result set holdability
+     * 
+     * @param sql
+     *            the SQL string used to define the CallableStatement
+     * @param resultSetType
+     *            result set type
+     * @param resultSetConcurrency
+     *            result set concurrency
+     * @param resultSetHoldability
+     *            result set holdability
      * @return a {@link PoolableCallableStatement}
      * @throws SQLException
+     *             Wraps an underlying exception.
      */
     @Override
     public CallableStatement prepareCall(final String sql, final int resultSetType,
@@ -390,7 +404,9 @@ public class PoolingConnection extends DelegatingConnection<Connection>
 
     /**
      * Creates or obtains a {@link PreparedStatement} from the pool.
-     * @param sql the sql string used to define the PreparedStatement
+     * 
+     * @param sql
+     *            the SQL string used to define the PreparedStatement
      * @return a {@link PoolablePreparedStatement}
      */
     @Override