Correctify the documentation for selectInto().

This commit is contained in:
Michael Bayne
2010-12-14 16:41:16 +00:00
parent d34ee233f7
commit d0919f8239
@@ -466,9 +466,9 @@ public class Query<T extends PersistentRecord>
/** /**
* Selects the supplied expressions and writes their values into the supplied result class. The * Selects the supplied expressions and writes their values into the supplied result class. The
* result expressions will be matched to the fields of the result class in declaration order. * result class must have exactly one constructor which takes arguments that are convertible
* The fields of the result class must match the types of the selected expressions modulo the * from the types of the selected expressions. Reflection will be used to find and invoke the
* automatic conversions applied by reflective assignment (unboxing and widening). * constructor; unboxing and widening will be performed by the reflective call.
*/ */
public <V> List<V> selectInto (Class<V> resultClass, SQLExpression<?>... selexps) public <V> List<V> selectInto (Class<V> resultClass, SQLExpression<?>... selexps)
{ {