Apache JDO Project - InstanceLifecycleListener on detached instances

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > December 2005 > InstanceLifecycleListener on detached instances





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author InstanceLifecycleListener on detached instances
erik@jpox.org

2005-12-22, 5:45 pm

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 L Russell

2005-12-28, 2:45 am

erik@jpox.org

2005-12-28, 7:45 am

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:
>
>
> 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!
>
>





Craig L Russell

2005-12-28, 5:46 pm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com