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

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

    [ https://issues.apache.org/jira/browse/DBUTILS-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068696#comment-14068696 ] 

Gary Gregory commented on DBUTILS-119:
--------------------------------------

Patches welcome! ;-)

> 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
>              Labels: documentation
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> 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)