[JIRA] Created: (CAY-855) Add DataContext.objectFromDataRow variety for generic classes

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Tue Aug 28 2007 - 13:42:51 EDT


Add DataContext.objectFromDataRow variety for generic classes
-------------------------------------------------------------

                 Key: CAY-855
                 URL: https://issues.apache.org/cayenne/browse/CAY-855
             Project: Cayenne
          Issue Type: Improvement
          Components: Cayenne Core Library
    Affects Versions: 3.0
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
            Priority: Minor
             Fix For: 3.0

generic classes differ from concrete mapped classes in that the user needs to pass entity name instead of the java.lang.Class to most of the context methods:

   http://cayenne.apache.org/doc/generic-persistent-class.html

One important method that is missing is converting a data row to an instance of generic class. So we need:

DataContext.objectFromDataRow(String, DataRow, boolean)

This is not critical as there is a workaround that is just more verbose: objectsFromDataRows(ObjEntity,List,boolean, boolean). But still nice to have (for those who care about generic objects)

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



This archive was generated by hypermail 2.0.0 : Tue Aug 28 2007 - 13:43:18 EDT