You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Akerman (JIRA)" <ji...@apache.org> on 2014/07/21 18:04:39 UTC

[jira] [Created] (DBUTILS-119) errors in BeanMapHandler javadoc

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)