commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1371161 - /commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/QueryRunner.java
Date Thu, 09 Aug 2012 11:02:06 GMT
Author: simonetripodi
Date: Thu Aug  9 11:02:06 2012
New Revision: 1371161

URL: http://svn.apache.org/viewvc?rev=1371161&view=rev
Log:
added javadoc stubs with @since tags

Modified:
    commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/QueryRunner.java

Modified: commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/QueryRunner.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/QueryRunner.java?rev=1371161&r1=1371160&r2=1371161&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/QueryRunner.java
(original)
+++ commons/proper/dbutils/trunk/src/main/java/org/apache/commons/dbutils/QueryRunner.java
Thu Aug  9 11:02:06 2012
@@ -500,22 +500,74 @@ public class QueryRunner extends Abstrac
         return rows;
     }
 
+    /**
+     * TODO fill me!
+     *
+     * @param sql
+     * @param rsh
+     * @return
+     * @throws SQLException
+     * @since 1.6
+     */
     public <T> T insert(String sql, ResultSetHandler<T> rsh) throws SQLException
{
         return insert(this.prepareConnection(), true, sql, rsh, (Object[]) null);
     }
 
+    /**
+     * TODO fill me!
+     *
+     * @param sql
+     * @param rsh
+     * @param params
+     * @return
+     * @throws SQLException
+     * @since 1.6
+     */
     public <T> T insert(String sql, ResultSetHandler<T> rsh, Object... params)
throws SQLException {
         return insert(this.prepareConnection(), true, sql, rsh, params);
     }
 
+    /**
+     * TODO fill me!
+     *
+     * @param conn
+     * @param sql
+     * @param rsh
+     * @return
+     * @throws SQLException
+     * @since 1.6
+     */
     public <T> T insert(Connection conn, String sql, ResultSetHandler<T> rsh)
throws SQLException {
         return insert(conn, false, sql, rsh, (Object[]) null);
     }
 
+    /**
+     * TODO fill me!
+     *
+     * @param conn
+     * @param sql
+     * @param rsh
+     * @param params
+     * @return
+     * @throws SQLException
+     * @since 1.6
+     */
     public <T> T insert(Connection conn, String sql, ResultSetHandler<T> rsh,
Object... params) throws SQLException {
         return insert(conn, false, sql, rsh, params);
     }
 
+    /**
+     * TODO fill me!
+     *
+     * @param conn
+     * @param closeConn
+     * @param sql
+     * @param rsh
+     * @param params
+     * @return
+     * @throws SQLException
+     * @since 1.6
+     */
     private <T> T insert(Connection conn, boolean closeConn, String sql, ResultSetHandler<T>
rsh, Object... params) throws SQLException {
         if (conn == null) {
             throw new SQLException("Null connection");



Mime
View raw message