Frank,

I hadn't spotted that method. Thanks

Ben

2009/11/21 François Cassistat <[email protected]>

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

Reply via email to