cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Lazy Attributes
Date Wed, 27 Nov 2019 12:31:47 GMT
I'd be +1 on this. Thought about it in the past. Shouldn't be too hard to do either.

Andrus


> On Nov 27, 2019, at 3:06 PM, Michael Gentry <blacknext@gmail.com> wrote:
> 
> I just happened across an article on Hibernate which talks about lazy
> attributes.  (A recent addition, I think.)  This essentially allows you to
> flag an attribute/column as lazy and it'll be excluded from the original
> SELECT query, but if you call the getter it will then fetch it in.  This is
> convenient for BLOB-type data that might happen to be in a main table with
> other attributes (such as MIME types, file sizes, file names, etc).
> 
> Thoughts on maybe adding this feature to Cayenne?  I can imagine there'd be
> a "Lazy" column in Cayenne Modeler for the attributes to control/identify
> them.
> 
> Thanks,
> 
> mrg


Mime
View raw message