commons-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/DBUTILS-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory updated DBUTILS-119:
---------------------------------

    Fix Version/s:     (was: 1.7)

> 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)

Mime
View raw message