RE: How to get the subnodes of a tree using sql?

2007-09-03 Thread Ard Schrijvers
Hello, when adding the nodes, print out the getPath() to see their absolute paths. Use this path in the jcr:path. I just tested it for the trunk and it works without any problems Regards Ard ps I am crossposting to the user list. Continue the thread over there pls since that is the correct li

RE: How to get the subnodes of a tree using sql?

2007-09-03 Thread Andvar
sorry for not specify clearly and thanks for you reply. the root node is the default "root" node i use session.getRootNode() to get the default root node. then i add "domain" nodes as children of "root" node,then "information" nodes as children of "domain" node,and "news" nodes children of "info

[jira] Commented: (JCR-935) ConcurrentModificationException during logout (cont'd)

2007-09-03 Thread Esteban Franqueiro (JIRA)
[ https://issues.apache.org/jira/browse/JCR-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524579 ] Esteban Franqueiro commented on JCR-935: Regarding the NPE that Pablo mentioned, it looks like a race condition,

[jira] Commented: (JCR-1108) JCR2SPI: error level logging when cleaning up session locks

2007-09-03 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524550 ] Julian Reschke commented on JCR-1108: - Turns out that the TCK indeed uses the same session (otherwise it would fail

[jira] Created: (JCR-1108) JCR2SPI: error level logging when cleaning up session locks

2007-09-03 Thread Julian Reschke (JIRA)
JCR2SPI: error level logging when cleaning up session locks Key: JCR-1108 URL: https://issues.apache.org/jira/browse/JCR-1108 Project: Jackrabbit Issue Type: Improvement

Re: svn commit: r572347 - /jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/main/java/org/apache/jackrabbit/ocm/manager/impl/ObjectIterator.java

2007-09-03 Thread Christophe Lombart
We understand. Just mixin some projects :-) On 9/3/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > Am Montag, den 03.09.2007, 14:23 + schrieb [EMAIL PROTECTED]: > > FELIX-1107 ObjectIterator may return null, which is not readily expected > from an Iterator > > This should of course read:

Re: svn commit: r572347 - /jackrabbit/trunk/contrib/jackrabbit-jcr-mapping/jcr-mapping/src/main/java/org/apache/jackrabbit/ocm/manager/impl/ObjectIterator.java

2007-09-03 Thread Felix Meschberger
Am Montag, den 03.09.2007, 14:23 + schrieb [EMAIL PROTECTED]: > FELIX-1107 ObjectIterator may return null, which is not readily expected from > an Iterator This should of course read: JCR-1107 ObjectIterator may return null, which is not readily expected from an Iterator :-) Regards Felix

[jira] Closed: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed JCR-1106. -- Resolution: Fixed Fixed in Rev. 572348 including adapting the ObjectIterator constructor change.

[jira] Closed: (JCR-1107) ObjectIterator may return null, which is not readily expected from an Iterator

2007-09-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed JCR-1107. -- Resolution: Fixed Fixed in Rev. 572347 with adaptions of users pending. > ObjectIterator may ret

[jira] Assigned: (JCR-1107) ObjectIterator may return null, which is not readily expected from an Iterator

2007-09-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned JCR-1107: -- Assignee: Felix Meschberger > ObjectIterator may return null, which is not readily expect

[jira] Assigned: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned JCR-1106: -- Assignee: Felix Meschberger > Add simple query method to ObjectContentManager > -

Re: [jira] Updated: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Felix Meschberger
Hi Christophe, Allright, I will commit both. Regards Felix Am Montag, den 03.09.2007, 16:04 +0200 schrieb Christophe Lombart: > On 9/3/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > > > > > On the other hand, I have also an issue with the ObjectIterator (see > > JIRA-1107). If we can agree

Re: [jira] Updated: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Christophe Lombart
On 9/3/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > > On the other hand, I have also an issue with the ObjectIterator (see > JIRA-1107). If we can agree on this, too, I can of course commit them > both. +1. My code was not very good - Thanks

Re: [jira] Updated: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Christophe Lombart
On 9/3/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > Hi Christophe, > > To have you review it first - but then, you still can bark and bite and > reject :-) This is not my way of working ... and living :-) For this kind of issue, I'm not sure that is important to create a patch. At lea

Re: [jira] Updated: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Felix Meschberger
Hi Christophe, To have you review it first - but then, you still can bark and bite and reject :-) On the other hand, I have also an issue with the ObjectIterator (see JIRA-1107). If we can agree on this, too, I can of course commit them both. Regards Felix Am Montag, den 03.09.2007, 15:46 +020

[jira] Updated: (JCR-1107) ObjectIterator may return null, which is not readily expected from an Iterator

2007-09-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated JCR-1107: --- Attachment: JCR-1107.diff Proposed change to ObjectIterator. The consequence of the look-ahead

[jira] Created: (JCR-1107) ObjectIterator may return null, which is not readily expected from an Iterator

2007-09-03 Thread Felix Meschberger (JIRA)
ObjectIterator may return null, which is not readily expected from an Iterator -- Key: JCR-1107 URL: https://issues.apache.org/jira/browse/JCR-1107 Project: Jackrabbit

Re: [jira] Updated: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Christophe Lombart
Felix, Why not to commit your code modification directly ? br, Christophe On 9/3/07, Felix Meschberger (JIRA) <[EMAIL PROTECTED]> wrote: > > > [ > https://issues.apache.org/jira/browse/JCR-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Felix Meschberger updated

[jira] Updated: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated JCR-1106: --- Attachment: JCR-1106.diff Patch implementing the extension > Add simple query method to Object

[jira] Created: (JCR-1106) Add simple query method to ObjectContentManager

2007-09-03 Thread Felix Meschberger (JIRA)
Add simple query method to ObjectContentManager --- Key: JCR-1106 URL: https://issues.apache.org/jira/browse/JCR-1106 Project: Jackrabbit Issue Type: New Feature Components: jcr-mapping

RE: How to get the subnodes of a tree using sql?

2007-09-03 Thread Ard Schrijvers
Hello, > Andvar wrote: > the structure of the nodes is as follows: > root > | > domain > | > information > | > news > I use sql to search the news nodes like this:"se

How to get the subnodes of a tree using sql?

2007-09-03 Thread Andvar
the structure of the nodes is as follows: root | domain | information | news I use sql to search the news nodes like this:"select * from nt:unstructured where jcr:pat

[jira] Resolved: (JCR-1105) Log at debug level rather that warn in ItemStateMap

2007-09-03 Thread Florent Guillaume (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florent Guillaume resolved JCR-1105. Resolution: Won't Fix Ah ok, then I retract this issue. I'll try to find the cause in my appl

[jira] Commented: (JCR-1105) Log at debug level rather that warn in ItemStateMap

2007-09-03 Thread Stefan Guggisberg (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524483 ] Stefan Guggisberg commented on JCR-1105: i've deliberately chosen WARN rather than DEBUG since it indicates a

Re: [OCM] Add simple query API

2007-09-03 Thread Bertrand Delacretaz
On 8/31/07, Christophe Lombart <[EMAIL PROTECTED]> wrote: > ...I thought also about a query language like OQL oriented for content repo > but it will take more time to implement. Futhermore, I'm not yet sure that > will be a great help Agreed - having used both OJB and Hibernate, I often feel

[jira] Commented: (JCR-1079) Extend the IndexingConfiguration to allow configuration of reuseable analyzers

2007-09-03 Thread Ard Schrijvers (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524452 ] Ard Schrijvers commented on JCR-1079: - >no, I think it's better to have it symmetric. If they can only be used >gl