

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
15 messages in org.apache.jackrabbit.usersRE: OCM - Issue while loading list of...| From | Sent On | Attachments |
|---|---|---|
| Kaizer Shaikh | Oct 30, 2007 8:03 am | |
| Christophe Lombart | Oct 31, 2007 12:38 am | |
| Felix Meschberger | Oct 31, 2007 12:50 am | |
| Kaizer Shaikh | Nov 5, 2007 10:56 pm | |
| Kaizer | Nov 6, 2007 8:29 pm | |
| Marcel Reutegger | Nov 7, 2007 1:29 am | |
| Kaizer | Nov 7, 2007 9:00 pm | |
| Marcel Reutegger | Nov 9, 2007 2:15 am | |
| Kaizer | Nov 13, 2007 1:45 am | |
| Christophe Lombart | Nov 13, 2007 12:12 pm | |
| Kaizer | Nov 13, 2007 8:49 pm | |
| Christophe Lombart | Nov 14, 2007 7:37 am | |
| Kaizer Shaikh | Nov 15, 2007 3:41 am | |
| Christophe Lombart | Nov 15, 2007 4:43 am | |
| Kaizer Shaikh | Nov 21, 2007 3:33 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: OCM - Issue while loading list of classes at that path itself. | Actions... |
|---|---|---|
| From: | Kaizer Shaikh (Kaiz...@mastek.com) | |
| Date: | Nov 21, 2007 3:33:22 am | |
| List: | org.apache.jackrabbit.users | |
Hi,
That is exactly my point. Shouldn't there have been a solution with XPath?
I have added a new method getObjects(Class, path) and made a patch for the same
(JCR-1198). I am not sure whether we should be doing it in the way I have
written code w.r.t.
- forming of jcrExpression in ObjectContentManagerImpl instead of QueryManager
- It will retrieve objects in that path only; basically no objects from child
nodes are retrieved.
Ideally in getObjects I would have formed a Query object and called the method
of QueryManager to get the jcrExpression. The reason I could not do it right now
is because the way query behaves for objects stored directly under that path.
If there is any other idea or suggestion to change this then let me know and I
can contribute a patch.
Regards, Kaizer
-----Original Message----- From: Christophe Lombart [mailto:chri...@gmail.com] Sent: Thursday, November 15, 2007 6:14 PM To: use...@jackrabbit.apache.org Subject: Re: OCM - Issue while loading list of classes at that path itself.
While storing an object in OCM under a path nothing is created below that Node. Hence I am not sure whether this is a bug in OCM's QueryManagerImpl.buildJCRExpression or JackRabbit (basically trying to retrieve self or descendant nodes for a path)?
I also tested here but I didn't find a solution with XPath. That's why I propose the new method which should be also useful for others cases.
Christophe
MASTEK LTD. Making a valuable difference Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of
Mastek Limited, unless specifically indicated to that effect. Mastek Limited
does not accept any responsibility or liability for it. This e-mail and
attachments (if any) transmitted with it are confidential and/or privileged and
solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any
action in reliance upon this information by persons or entities other than the
intended recipient is prohibited. This e-mail and its attachments have been
scanned for the presence of computer viruses. It is the responsibility of the
recipient to run the virus check on e-mails and attachments before opening them.
If you have received this e-mail in error, kindly delete this e-mail from
desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~







