diff --git a/src/docs/asciidoc/data-access.adoc b/src/docs/asciidoc/data-access.adoc index 59add5267e..7e9e6688f7 100644 --- a/src/docs/asciidoc/data-access.adoc +++ b/src/docs/asciidoc/data-access.adoc @@ -2942,10 +2942,10 @@ query methods, one for an `int` and one that queries for a `String`. ---- In addition to the single result query methods, several methods return a list with an -entry for each row that the query returned. The most generic method is -`queryForList(..)` which returns a `List` where each entry is a `Map` with each entry in -the map representing the column value for that row. If you add a method to the above -example to retrieve a list of all the rows, it would look like this: +entry for each row that the query returned. The most generic method is `queryForList(..)` +which returns a `List` where each entry is a `Map` containing one entry for each column, +using the column name as the key. If you add a method to the above example to retrieve a +list of all the rows, it would look like this: [source,java,indent=0] [subs="verbatim,quotes"]