cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amedeo Mantica <amedeomant...@me.com.INVALID>
Subject Re: Best Practice for blobs
Date Fri, 04 Oct 2019 09:46:22 GMT
+1

> On 3 Oct 2019, at 14:27, Michael Gentry <blacknext@gmail.com> wrote:
> 
> I've always used a secondary table (1:1 relationship) which contained just
> the blob data.  The parent table would have the metadata for the blob, and
> possibly other data as required.  That way you can fetch in the name, file
> size, type, etc without fetching in the blob until needed.
> 
> 
> On Wed, Oct 2, 2019 at 8:02 PM Lon Varscsak <lon.varscsak@gmail.com> wrote:
> 
>> Hey all,
>> 
>> I have a blob column in an entity, but I don't want to always actually load
>> the blob, just on demand (but I still want to be able to see the other
>> attributes in the entity).  Any best practice here to have the blob be
>> lazy?
>> 
>> Thanks,
>> 
>> Lon
>> 


Mime
View raw message