cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] Closed: (CAY-1140) Store ObjEntity name in the DataRow
Date Mon, 01 Dec 2008 09:59:11 GMT


Andrus Adamchik closed CAY-1140.

    Resolution: Fixed

> Store ObjEntity name in the DataRow 
> ------------------------------------
>                 Key: CAY-1140
>                 URL:
>             Project: Cayenne
>          Issue Type: Task
>          Components: Cayenne Core Library
>    Affects Versions: 3.0M6
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.0M6
> It should be beneficial to push entity type resolution down to the ResultSet processing
stage (instead of doing it at the object resolution stage downstream). This way we can optimize
inheritance queries to read only needed columns from the wide result set. Looks like this
strategy is also applicable for the DataRow queries that do not resolve objects at the end,
but still have an ObjEntity root.
> Another reason to resolve inheritance close to the JDBC level, is to ensure the correct
Java types of values. There is a hack (DataRowPostProcessor) that sort of handles it now,
but it would be nice to steamline this processing.
> This potentially obsoletes CAY-1136 (or at least makes it less of a priority).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message