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

Reply via email to