db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@jpox.org
Subject Re: InstanceLifecycleListener on detached instances
Date Wed, 28 Dec 2005 10:58:57 GMT
Craig,

A callback called when a detached instance is changed. (gets dirty)

Regards,

Quoting Craig L Russell <Craig.Russell@Sun.COM>:

> Hi Erik,
>
> JDO 2 did not define any additional instance lifecycle callbacks, so
> there are none for JDO 2 features.
>
> The dirty callback is executed during a lifecycle change from clean
> to dirty, so it's not really suitable.
>
> What problem are you trying to solve?
>
> Craig
>
> On Dec 22, 2005, at 11:36 AM, erik@jpox.org wrote:
>
> > Hi,
> >
> > Instance lifecycle listeners are only invoked if a PM is involved,
> > but for
> > detached instances none are called. The dirty listener is one that
> > IMO could be
> > called for detached instances. It means during detachment, a Dirty
> > listener is
> > assigned from the attached to the detached instance.
> >
> > Any thoughts?
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>




Mime
View raw message