Uploaded image for project: 'Commons DbUtils'
  1. Commons DbUtils
  2. DBUTILS-119

Correct errors in BeanMapHandler JavaDoc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.6
    • 1.7

    Description

      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"

      Attachments

        Activity

          People

            britter Benedikt Ritter
            eakerma Michael Akerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified