cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malcolm Edgar" <malcolm.ed...@gmail.com>
Subject Re: How to prevent Cayenne from fetching BLOB fields ?
Date Tue, 07 Oct 2008 19:59:52 GMT
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 <halset@pvv.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.
>
>

Mime
View raw message