jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Short <...@benshort.co.uk>
Subject Re: Calling session.save()
Date Sat, 21 Nov 2009 20:27:07 GMT
Frank,

I hadn't spotted that method. Thanks

Ben

2009/11/21 François Cassistat <f@maya-systems.com>

> I don't really know, but if so, you could consider using boolean
> Session.hasPendingChanges() to see if there is any change to save before
> saving. (But be careful of concurrent access then.)
>
>
> http://www.day.com/maven/jsr170/javadocs/jcr-2.0/javax/jcr/Session.html#hasPendingChanges()
>
>
> Frank
>
>
>
> Le 09-11-21 à 15:11, Ben Short a écrit :
>
>
>  Hi,
>>
>> Is it costly to call session.save() if the session has only been used for
>> reading?
>>
>> Regards
>>
>> Ben Short
>>
>
>

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