jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: sequence
Date Tue, 18 Apr 2006 09:49:04 GMT
and now there's a utility available in jackrabbit (in svn trunk) that 
does exactly this: org.apache.jackrabbit.util.Locked

have a look at the javadoc and try it out if you like.

there are also a couple of test cases that may serve as a starting 
point: org.apache.jackrabbit.core.LockTest

regards
  marcel


Marcel Reutegger wrote:
> I would do it this way:
> 
> - use a lockable node with a number property
> - then use a utility like the one discussed here:
> http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/2661/focus=2693
> to increment the property
> 
> regards
>  marcel
> 
> Torgeir Veimo wrote:
>> Is there an easy way to simulate a sequence generator with a jackrabbit
>> repository?
>>
> 
> 

Mime
View raw message