Re: Recursive child versioning

2010-03-04 Thread Davide Maestroni
Hi Alex, what I see is that each time the file D (along with its data) is copied in the new version of node A. I understand that no diff mechanism is employed when applying COPY opv, so it is ok that the node B and all its properties are copied in the new version of A (since B is not versionable

Re: Recursive child versioning

2010-03-04 Thread Davide Maestroni
Hi Alex, I did another test removing the node B, so the structure became like this: A (mix:versionable, nt:unstructured) ^ | C (mix:versionable, nt:unstructured) ^ | D (nt:file) ^ | E (nt:resource) When I created a version of A, with the same number of files

Re: NodeType creation

2010-03-04 Thread Stefan Guggisberg
On Thu, Mar 4, 2010 at 12:43 AM, Birmingham, Steven steven.birming...@itt.com wrote: I built and added jackrabbit-core-2.0.0.jar to the build path, but JackRabbitNodeTypeManager is still unresolved.  Yes, I was trying to do an evaluation on the standalone server.  So, are you saying NodeType

Re: Recursive child versioning

2010-03-04 Thread Alexander Klimetschek
On Thu, Mar 4, 2010 at 10:52, Davide Maestroni davide.maestr...@gmail.com wrote: Hi Alex, I did another test removing the node B, so the structure became like this: A (mix:versionable, nt:unstructured)      ^      | C (mix:versionable, nt:unstructured)      ^      | D (nt:file)      ^

Re: jcr2spi NodeIterator.getNode() performances

2010-03-04 Thread Michael Dürig
I am interested on these parameters to improve jackrabbit performance. I have an installation with more than 2 million of documents and performance is actually poor :( On the current trunk there are 3 parameters which can be used to tweak performance for jcr2spi/spi2davex. These are the size

Re: getRootNode() takes 27 seconds...

2010-03-04 Thread Michael Dürig
Depends on the tree. If you fetch the root node and spi fetches more than one level, you might potentially include a lot of nodes, more compared to a more deeper subtree. If you are using spi2davex for the remote connection, you can change the BatchReadConfig to not fetch deeper levels. See

Re: getRootNode() takes 27 seconds...

2010-03-04 Thread François Cassistat
Thank you, but we decided not to going on with the jcr2spi/spi2davex solution since the network latencies were too costly. We are writing our own client/server application with a local jackrabbit on the server. François Le 2010-03-04 à 8:33 AM, Michael Dürig a écrit : Depends on the

Jackrabbit JCR-RMI JSR-283 support (Versioning)

2010-03-04 Thread Robert Eichinger
Hi, i tried to run a few tests today using Jackrabbit-RMI 2.0.0 which are using JSR-283 versioning features. I tried to obtain a VersionManager object from the remote repository and found out that the versioning features of JSR-283 are not fully implemented (yet). Do you intend to implement these

SQL2 - multiple where conditions

2010-03-04 Thread Gadbury
Hi, I understand that in MySQL I can perform the following multiple where clause select. SELECT * FROM Table WHERE id IN (0,2,3); Is there an equivelent in Jackrabbit 2.0 using the query language JCR_SQL2? I know the following works (but is there a better way?) : SELECT * FROM [my:table]

Re: jcr2spi NodeIterator.getNode() performances

2010-03-04 Thread Paco Avila
Thanks for the info :) PD: This info should be included in the Wiki. On Thu, Mar 4, 2010 at 2:30 PM, Michael Dürig michael.due...@day.com wrote: I am interested on these parameters to improve jackrabbit performance. I have an installation with more than 2 million of documents and performance

Re: SQL2 - multiple where conditions

2010-03-04 Thread Alexander Klimetschek
On Thu, Mar 4, 2010 at 16:31, Gadbury gadb...@googlemail.com wrote: SELECT * FROM Table WHERE id IN (0,2,3); Is there an equivelent in Jackrabbit 2.0 using the query language JCR_SQL2? I know the following works (but is there a better way?) : SELECT * FROM [my:table] WHERE [id]=0 OR[id]=2

RE: NodeType creation

2010-03-04 Thread Birmingham, Steven
Thanks for the input Stefan. I looked up your suggestion and tried using CndImporter which threw the exception JCR-2003. Implementation missing. So, are you saying the implementation is missing from the StandAlone server but would be available from the embedded war file?

Re: jcr2spi NodeIterator.getNode() performances

2010-03-04 Thread Michael Dürig
On 3/4/10 4:55 PM, Paco Avila wrote: Thanks for the info :) PD: This info should be included in the Wiki. Yes, I see what I can do. Michael On Thu, Mar 4, 2010 at 2:30 PM, Michael Dürigmichael.due...@day.com wrote: I am interested on these parameters to improve jackrabbit performance.

SQL2 join question

2010-03-04 Thread Birmingham, Steven
Can someone tell me how to do a SQL2 query including properties of a child node. I can't seem to get a join to work with unstructured node types. Here is the graph structure, forgive my syntax but it will server for a simple example. /parentNodes /P0 :name

path query

2010-03-04 Thread Birmingham, Steven
OK, I am getting pretty frustrated. Why does this SQL2 query return 0 nodes? I have 1000 nodes under /signals which is of type nt:unstructured. Select [jcr:path] from [nt:unstructured] WHERE [jcr:path] LIKE '/signals/%'; Steve This e-mail and any files

Re: path query

2010-03-04 Thread Guo Du
On Thu, Mar 4, 2010 at 8:49 PM, Birmingham, Steven steven.birming...@itt.com wrote: Select [jcr:path] from [nt:unstructured] WHERE [jcr:path] LIKE '/signals/%'; Another format in SQL2: Select [jcr:path] from [nt:unstructured] WHERE ISDESCENDANTNODE('/signals') More details:

Read node auditing

2010-03-04 Thread JOSE FELIX HERNANDEZ BARRIO
Hi, I need to execute a piece of code each time a user read a node/property to keep a log of every access. I've seen Observation but it appears to be useful only for add/edit/remove operation. any tip? thanx -- Jose Hernandez 675599600 Isthari http://www.isthari.com

securityItemModifier class

2010-03-04 Thread Richa
hello everyone i want to know why is securityItemModifier class removed from jackrabbit 2.0.0 api while it was there in the jackrabbit 1.5.6 in org.apache.jackrabbit.core package...and also can anybody help me with the alternative class for the this class... pls help thanks in