Re: generics and ObjectContext

From: Kevin Menard (
Date: Wed Nov 21 2007 - 12:28:29 EST

  • Next message: Richie Alford: "Cayenne and Axis 2"

    I have mixed feelings on that one. Seems like too much code to change.
    But, maybe it should be expected.

    Like I said, I loved getting rid of all my casts with newObject(). But, at
    the same time, I had to add a lot more because performQuery() now returns
    List<?> rather than List. Before I was okay with the unchecked access, but
    now that's not possible for better or worse. In any event, a cast is nearly
    always required because retrieving items from a List<?> is going to require

    On 11/20/07 3:16 PM, "Andrus Adamchik" <> wrote:

    > Yeah, considering the rest of this thread (BTW, "setFetchingDataRow"
    > where mentioned at the beginning), I am also thinking along the lines
    > of taking generics out of ObjectContext and into some wrapper query
    > API, which would be either a modification of the current queries, or
    > indeed a wrapper along the lines of CAY-877.
    > Andrus

    Kevin Menard
    Servprise International, Inc.
    Remote reboot & power control for network equipment              +1 508.892.3823 x308

    This archive was generated by hypermail 2.0.0 : Wed Nov 21 2007 - 12:29:06 EST