Re: master plan for jsr 283 query implementation

2007-09-11 Thread Julian Reschke
Christoph Kiehl wrote: Marcel Reutegger wrote: well, those are actually just my thoughts how I think we should implement the query enhancements specified in JSR 283. there are basically three major blocks that we need to implement: - JQOM, allows you to programmatically create a query -

Re: [OCM] Reorganize the contrib

2007-09-11 Thread Christophe Lombart
Hi Jukka, Sounds good. Would you mind doing JCR-995 (moving the core part outside contrib) as well while you're at it? I would like to finalise the annotation support before moving outside the contrib. Just to be sure to have something stable in term of code and in term of ocm project

Re: [OCM] Reorganize the contrib

2007-09-11 Thread Felix Meschberger
Hi, Am Dienstag, den 11.09.2007, 09:00 +0200 schrieb Christophe Lombart: Concerning the annotation support, we have to use java 1.5 but maybe some jackrabbit/ocm users are still in java 1.4. For Sling, Felix is using another framework (Kxml if I remember). I'm not sure that it is interesting

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Thomas Mueller
use javacc for SQL2 parsing I would use a hand-written recursive descent parser. I know I'm probably the only one suggesting this... Thomas

[jira] Updated: (JCR-905) Clustering: race condition may cause duplicate entries in search index

2007-09-11 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated JCR-905: - Attachment: SearchManager.patch Here's an alternative patch, which handles the possible duplicates

[jira] Commented: (JCR-1117) Bundle cache is not rolled back when the storage of a ChangeLog fails

2007-09-11 Thread Martijn Hendriks (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526404 ] Martijn Hendriks commented on JCR-1117: --- I think that this could be fixed by extending the

[jira] Commented: (JCR-926) Global data store for binaries

2007-09-11 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526412 ] Thomas Mueller commented on JCR-926: Revision 574543: The FileDataStore now supports the configuration option

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Christoph Kiehl
Thomas Mueller wrote: use javacc for SQL2 parsing I would use a hand-written recursive descent parser. I know I'm probably the only one suggesting this... Well, not quite ;) I asked because currently you need to have knowledge about javacc to extend the parsers. I would like to make it

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Bertrand Delacretaz
On 9/11/07, Christoph Kiehl [EMAIL PROTECTED] wrote: ...WDOT?... I agree with Thomas that he'll probably be the only one to suggest a hand-written parser ;-) -Bertrand

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Christoph Kiehl
Bertrand Delacretaz wrote: On 9/11/07, Christoph Kiehl [EMAIL PROTECTED] wrote: ...WDOT?... I agree with Thomas that he'll probably be the only one to suggest a hand-written parser ;-) Ok ;) So does anyone know of any easier to understand solutions than using javacc? Maybe it is just that

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Bertrand Delacretaz
On 9/11/07, Christoph Kiehl [EMAIL PROTECTED] wrote: ...does anyone know of any easier to understand solutions than using javacc? Maybe it is just that complex. Is antlr a better choice?... I've used both, and found them comparable in terms of complexity and power. Once you understand the

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Marcel Reutegger
Thomas Mueller wrote: use javacc for SQL2 parsing I would use a hand-written recursive descent parser. I know I'm probably the only one suggesting this... what are the advantages of a hand-written parser over a generated one? probably performance, but are there other? regards marcel

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Marcel May
Marcel Reutegger wrote: Thomas Mueller wrote: use javacc for SQL2 parsing I would use a hand-written recursive descent parser. I know I'm probably the only one suggesting this... what are the advantages of a hand-written parser over a generated one? probably performance, but are there

[OCM] SimpleFieldHelper emits alot of WARN messages

2007-09-11 Thread Felix Meschberger
Hi all, The SimpleFieldsHelper.retrieveSimpleField method is used to load JCR properties into simple fields. If a node does not have a mapped property, a warning message is emited. I am not sure, whether it is actually a problematic situation if a property, which is not mandatory does not exist ?

[jira] Created: (JCR-1118) Upgrade contrib/bdb-persistence to work w/Jackrabbit 1.3

2007-09-11 Thread Tom Duffey (JIRA)
Upgrade contrib/bdb-persistence to work w/Jackrabbit 1.3 Key: JCR-1118 URL: https://issues.apache.org/jira/browse/JCR-1118 Project: Jackrabbit Issue Type: Task Components:

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Padraic I. Hannon
I concur, javacc while not something a lot of people use day to day has been around a long while now and is pretty standard. It would be best to leverage something that others know/can pick up than write something from scratch. I think there is time better spent doing other things than writing

Re: [OCM] SimpleFieldHelper emits alot of WARN messages

2007-09-11 Thread Padraic I. Hannon
+1 for debug Felix Meschberger wrote: Hi all, The SimpleFieldsHelper.retrieveSimpleField method is used to load JCR properties into simple fields. If a node does not have a mapped property, a warning message is emited. I am not sure, whether it is actually a problematic situation if a

node locking when connection pool is used ?

2007-09-11 Thread ruchi goel
Hi, In our design , instead of having one repository connection per user session , we would like to have a pool of repository connections which can be shared between the end user http sessions. As per JSR170 specs , locking of node is mapped per repository session . Now how do we

release for Jackrabbit 1.4

2007-09-11 Thread ruchi goel
Hi, What is the expected time frame for release of Jackrabbit 1.4 ? Thanks, Ruchi

Re: master plan for jsr 283 query implementation

2007-09-11 Thread Thomas Mueller
Hi, I have used JavaCC, ANTLR, and made hand-written parsers. Hand-written parsers are more flexible: - Returning meaningful error messages is easy - Tokens that are sometimes identifiers and sometimes keywords (many in SQL) are not problematic - Strange grammar can be supported (SQL is

Re: [OCM] SimpleFieldHelper emits alot of WARN messages

2007-09-11 Thread Christophe Lombart
On 9/11/07, Felix Meschberger [EMAIL PROTECTED] wrote: Hi all, The SimpleFieldsHelper.retrieveSimpleField method is used to load JCR properties into simple fields. If a node does not have a mapped property, a warning message is emited. I am not sure, whether it is actually a problematic

Submit update to bdb-persistence

2007-09-11 Thread Tom Duffey
Hi All, I updated bdb-persistence from contrib to work with Jackrabbit 1.3.1. I'm wondering what the best way is to contribute this back? In addition to patches the files have also moved from org.apache.jackrabbit.core.state.bdb to org.apache.jackrabbit.core.persistence.bdb. Best