Re: CAY-15: still no descriptive exception

From: mkienen..laska.net
Date: Fri Jun 24 2005 - 13:20:00 EDT

  • Next message: John Martyniak: "Importing EO Models"

    Never mind.
    I see that this is documented as CAY-285 which is still open. I need to stop jumping the gun....

    -Mike

    ----- Original Message -----
    From: Mike Kienenberger <mkienen..laska.net>
    Date: Friday, June 24, 2005 1:18 pm
    Subject: CAY-15: still no descriptive exception

    > =============================================================================
    > Andrus Adamchik [ 24/Nov/04 09:35 AM ] [ Permlink ]
    >
    > Also see a problem described in this thread -
    > http://objectstyle.org/cayenne/lists/cayenne-user/2004/11/0151.html
    >
    >
    >
    > The code in SelectObserver.partitionBySource implicitly relies on
    > the fact
    > that no many-to-many relationship ca be prefetched... Need to do
    > an explicit
    > check (and for now maybe throw a descriptive exception)
    > =============================================================================
    >
    > There's still no descriptive exception. You still get a
    > ClassCastException
    > when prefetching a flattened relationship with addPrefetch().
    >
    > -Mike
    >



    This archive was generated by hypermail 2.0.0 : Fri Jun 24 2005 - 13:20:04 EDT