jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Raman" <sridhar.ra...@gmail.com>
Subject Re: Observation (Eventlistener) in Jackrabbit
Date Mon, 17 Dec 2007 13:33:26 GMT
Hmm ... in that case is there any way I can check in the event listener
whether the value has changed?  Does the event (or any other object, for
that matter) give me a handle on the older property value?

On Dec 14, 2007 6:00 PM, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:

> Julian Reschke wrote:
> > Sridhar Raman wrote:
> >> That's what I assumed would happen, but when I ran this particular test
> >> case, I got different results.
> >> ...
> >
> > I would not make the assumption that the event can only be sent when the
> > value actually *changes* -- as a matter of fact, none of the servers
> > I've been developing for in the past makes a guarantee like that.
>
> the same holds for jackrabbit. if you set a value for an existing
> property,
> jackrabbit does not check if the value is equal to the existing one. the
> property is marked modified in any case.
>
> regards
>  marcel
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message