commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Akerman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DBUTILS-119) errors in BeanMapHandler javadoc
Date Mon, 21 Jul 2014 16:04:39 GMT
Michael Akerman created DBUTILS-119:
---------------------------------------

             Summary: errors in BeanMapHandler javadoc
                 Key: DBUTILS-119
                 URL: https://issues.apache.org/jira/browse/DBUTILS-119
             Project: Commons DbUtils
          Issue Type: Bug
    Affects Versions: 1.6
            Reporter: Michael Akerman
            Priority: Trivial
             Fix For: 1.7


The text:
 ResultSetHandler<Map<Long, Person>> h = new BeanMapdHandler<Long, Person>(Person.class,
"id");
 Map&ltLong, Person> found = queryRunner.query("select id, name, age from person",
h);
 Person jane = found.get(1L); // jane's id is 1
 String janesName = jane.getName();
 Integer janesAge = jane.getAge();

Corrections:
- "BeanMapdHandler" to "BeanMapHandler"
- "Map&ltLong" to "Map<Long"




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message