src/jdk.incubator.adba/share/classes/jdk/incubator/sql2/SqlColumns.java
branchJDK-8188051-branch
changeset 56832 4f7713e6a308
parent 56797 fb523d4d9185
--- a/src/jdk.incubator.adba/share/classes/jdk/incubator/sql2/SqlColumns.java	Thu Jul 12 15:21:13 2018 -0400
+++ b/src/jdk.incubator.adba/share/classes/jdk/incubator/sql2/SqlColumns.java	Thu Jul 12 15:23:13 2018 -0400
@@ -34,13 +34,13 @@
 
 /**
  * Identifies a constructor or static factory method that can be used to construct
- * an instance of the containing type when the type is passed to {@link Result.ResultMap#get}.
+ * an instance of the containing type when the type is passed to {@link Result.Column#get}.
  * The method or constructor must be public.
  * 
  * An instance of this type will be constructed by calling the factory method or
  * constructor. Each element in the value of this annotation is used as a column
  * identifier. The value of that column is passed to the corresponding parameter
- * of the annotated method or constructor. The id argument to {@link Result.ResultMap#get} is 
+ * of the annotated method or constructor. The id argument to {@link Result.Column#get} is 
  * prefixed to the column identifiers.
  * 
  * The following pseudo-code describes how an instance is constructed.
@@ -50,7 +50,7 @@
  *   String[] columns = methodOrConstructor.getAnnotation(SqlColumns.class).value();
  *   Object[] args = new Object[columns.length];
  *   for (String columnName : columns)
- *     args[i] = resultMap.get(prefix + columnName, parameterTypes[i++];
+ *     args[i] = colum.at(prefix + columnName).get(parameterTypes[i++]);
  *   instance = methodOrConstructor.invoke(null, args);</pre>}
  * 
  */