diff --git a/readme.md b/readme.md index 0467591..a605990 100644 --- a/readme.md +++ b/readme.md @@ -139,10 +139,10 @@ otherwise noted the ResultSet is closed before these methods return: * for the collection, any class implementing java.util.Collection can be used, java.util.List is popular * All mapping behavior is the same as `java.util.Map`, except the value is used to aggregate all values with the same key - * Example: you want to look up all firstNames for a given lastName, return type is Map>, + * Example: you want to look up all firstNames for a given lastName, return type is `Map>`, query might be `SELECT last_name, first_name FROM person`, returned value might be something like `{Monroe=[Marilyn, James], Washington=[George]}` - * Example: you want to look up all People with a given lastName, return type is Map>, + * Example: you want to look up all People with a given lastName, return type is `Map>`, query might be `SELECT last_name, first_name, person_no FROM person`, returned value might be something like `{Monroe=[Person{firstName=Marilyn,lastName=Monroe,personNo=1}, Person{firstName=James,lastName=Monroe,personNo=2}], Washington=[Person{firstName=George,lastName=Washington,personNo=3}]}` 8. `java.sql.ResultSet`