Re: How to prevent Cayenne from fetching BLOB fields ?

From: Malcolm Edgar (malcolm.edga..mail.com)
Date: Tue Oct 07 2008 - 15:59:52 EDT

  • Next message: Chris Murphy: "Re: Any other ROP examples?"

    One pattern we use to address this is to make a child table which
    contains the blob field and a parent foreign key. Its not ideal but
    it works.

    regards Malcolm Edgar

    On Wed, Oct 8, 2008 at 7:11 AM, Tore Halset <halse..vv.ntnu.no> wrote:
    > Hello.
    >
    > On 7. okt.. 2008, at 18.37, Pierre Lavignotte wrote:
    >
    >> Thanks Scott.
    >>
    >> I didn't find this in the mail archive...
    >>
    >> Do you mean define an entity WITHOUT the BLOB fields, and another,
    >> pointing
    >> on the same table, WITH ONLY the BLOB fields ?
    >> I guess it will work but I thought there was a built in mechanism to
    >> handle
    >> the BLOB fields differently than the standard ones...
    >
    > I did some work on streaming blob support a while back, but I did not
    > complete the work. As far as I remember, it worked pretty well for reading.
    >
    > https://issues.apache.org/cayenne/browse/CAY-316
    >
    > Regards,
    > - Tore.
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Oct 07 2008 - 16:00:31 EDT