ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: detect unloaded field
Date Wed, 03 Feb 2010 14:16:45 GMT
Sounds like you'd be half way to building Hibernate.  :-)  iBATIS doesn't
currently provide the facility to check loaded fields.

Cheers,
Clinton

On Wed, Feb 3, 2010 at 6:00 AM, Daryl Stultz <daryl@6degrees.com> wrote:

> Hello,
>
> I've seen examples of a "selective update" where only non-null fields are
> written into the query. I'd like to do the same for unloaded fields. Is
> there a way I can detect if a lazy-loaded field has been loaded yet?
>
> Ultimately I'd like to do full dirty field tracking using CGLIB but I'm not
> quite ready for that.
>
> --
> Daryl Stultz
> _____________________________________
> 6 Degrees Software and Consulting, Inc.
> http://www.6degrees.com
> mailto:daryl@6degrees.com
>

Mime
View raw message