commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1090742 - /commons/proper/dbutils/trunk/src/site/xdoc/examples.xml
Date Sun, 10 Apr 2011 05:32:34 GMT
Author: bayard
Date: Sun Apr 10 05:32:34 2011
New Revision: 1090742

URL: http://svn.apache.org/viewvc?rev=1090742&view=rev
Log:
Fixing examples per Michael Osipov's report in DBUTILS-68

Modified:
    commons/proper/dbutils/trunk/src/site/xdoc/examples.xml

Modified: commons/proper/dbutils/trunk/src/site/xdoc/examples.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/site/xdoc/examples.xml?rev=1090742&r1=1090741&r2=1090742&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/site/xdoc/examples.xml (original)
+++ commons/proper/dbutils/trunk/src/site/xdoc/examples.xml Sun Apr 10 05:32:34 2011
@@ -155,7 +155,7 @@ QueryRunner run = new QueryRunner(dataSo
 
 // Use the BeanHandler implementation to convert the first
 // ResultSet row into a Person JavaBean.
-ResultSetHandler<Person> h = new BeanHandler(Person.class);
+ResultSetHandler<Person> h = new BeanHandler<Person>(Person.class);
 
 // Execute the SQL statement with one replacement parameter and
 // return the results in a new Person object generated by the BeanHandler.
@@ -175,7 +175,7 @@ QueryRunner run = new QueryRunner(dataSo
 
 // Use the BeanListHandler implementation to convert all
 // ResultSet rows into a List of Person JavaBeans.
-ResultSetHandler<List<Person>> h = new BeanListHandler(Person.class);
+ResultSetHandler<List<Person>> h = new BeanListHandler<Person>(Person.class);
 
 // Execute the SQL statement and return the results in a List of
 // Person objects generated by the BeanListHandler.



Mime
View raw message