Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6.5, 1.7-beta-2
-
Component/s: SQL processing
-
Labels:None
-
Environment:Groovy 1.6.1, PostgeSQL 8.3, WinXP
-
Number of attachments :
Description
The javadoc for executeInsert(String) and (String, List) show the result as:
A list of the auto-generated column values for each inserted row
For executeInsert(GString gstring):
"return: A list of column values representing each row's auto-generated keys"
I think it's actually the same as the two previous one, it doesn't only return the keys but any generated value, more like it's stated in the comment: "returns the values of any auto-generated colums". Please note that "colum" is mispelled.
"colum" was fixed a few weeks back.