On Dec 21, 2007, at 2:30 PM, Tore Halset wrote:
> SelectQuery would be a Query<Object>
> DataRowSelectQuery would be a Query<DataRow>
> PersistentSelectQuery would be a Query<? extends Persistent>
That will work... My problem is conceptual - Query interface is too
generic to imply a single result type parameter. There are updating
queries, but even selecting ones like SQLTemplate and ProcedureQuery
can return multiple results of different type (which is abstracted in
org.apache.cayenne.QueryResponse).
Andrus
This archive was generated by hypermail 2.0.0 : Fri Dec 21 2007 - 09:33:28 EST