jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Lock
Date Wed, 26 Jul 2006 18:51:14 GMT
Hi,

On 7/26/06, Ramesh Devaraj <r.devaraj@maas.de> wrote:
> 1. If lock the node but forget to unlock the node at later stage what are the impacts.

If the lock is session-scoped, then it will automatically expire when
the session is closed. Otherwise you need to explicitly remove the
lock using the lock token.

> 2. I am using MySQL for the Persistent. Is there new data insert in DB during the lock?

If you lock the root node, then only changes originating from the
session that holds the lock will be persisted in that workspace.

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message