Re: [jira] Resolved: (JCR-951) OracleFileSystem uses getClass().getResourceAsStream to load schema file

2007-05-30 Thread Marcel May
951 >> URL: https://issues.apache.org/jira/browse/JCR-951 >> Project: Jackrabbit >> Issue Type: Improvement >> Components: core >>Affects Versions: 1.3.1 >>Reporter: Marcel May >>Assignee:

Questions about TX in Jackrabbit, JTA and Spec compliance

2007-07-09 Thread Marcel May
I have two questions about Jackrabbit and tx handling. 1) Using Jackrabbit deployed as resource adapter (JCA) and using a BundlePersistenceManager, I wonder if it is XA compliant: The persistence manager BundleDbPersistenceManager invokes setAutoCommit() and commit() on the db connection in the s

Re: Questions about TX in Jackrabbit, JTA and Spec compliance

2007-07-24 Thread Marcel May
Hi Dominique! Dominique Pfister wrote: > Hi Marcel, > > On 7/9/07, Marcel May <[EMAIL PROTECTED]> wrote: >> I have two questions about Jackrabbit and tx handling. >> >> 1) Using Jackrabbit deployed as resource adapter (JCA) and using a >> BundlePersistence

Re: Questions about TX in Jackrabbit, JTA and Spec compliance

2007-08-09 Thread Marcel May
Cris Daniluk wrote: >> The changelog is filled with the operations BEFORE the transaction is >> committed, and its contents is part of the logical view, as far as >> node traversal is concerned. In other words, before the transaction is >> committed, you will be the only one seeing those changes, a

Re: [jira] Commented: (JCR-1050) Remove synchronization from JNDI data sources

2007-08-16 Thread Marcel May
Stefan Guggisberg (JIRA) wrote: > [ > https://issues.apache.org/jira/browse/JCR-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520257 > ] > > Stefan Guggisberg commented on JCR-1050: > > > discussion on the dev lis

Re: Multiple connections (Was: Jackrabbit, the database)

2007-08-21 Thread Marcel May
Thomas Mueller wrote: >> avoid the synchronization on the PreparedStatements >> > > I don't think that synchronization on prepared statements is a > bottleneck. But you can prove that I am wrong. If writing the > changelog is synchronized (not sure if it is), that would be a > bottleneck. > >

Re: Jackrabbit, the database

2007-08-21 Thread Marcel May
Padraic Hannon wrote: > I concur, relational semantics should be buried within the persistence > managers. However, I think that one can still delegate transaction > handling using JTA to the container rather than using synchronization > and connection.autocommit(false). Jackrabbit must support JT

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

Re: [VOTE] Release Apache Jackrabbit 1.4

2008-01-11 Thread Marcel May
-1 (non binding): Bundled DB PM + JNDI issue 1305 (https://issues.apache.org/jira/browse/JCR-1305) This causes troubles in an application server environment and only requires a very small fix as suggested in the issue. It would be great if we could get this fixed for 1.4 release. Cheers, Mar

[jira] Created: (JCR-951) OracleFileSystem uses getClass().getResourceAsStream to load schema file

2007-05-29 Thread Marcel May (JIRA)
: Improvement Components: core Affects Versions: 1.3.1 Reporter: Marcel May Priority: Minor Fix For: 1.3.1 Attachments: jackrabbit.542562.patch.txt org.apache.jackrabbit.core.fs.db.OracleFileSystem loads the schema via getClass

[jira] Updated: (JCR-951) OracleFileSystem uses getClass().getResourceAsStream to load schema file

2007-05-29 Thread Marcel May (JIRA)
[ https://issues.apache.org/jira/browse/JCR-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel May updated JCR-951: Attachment: jackrabbit.542562.patch.txt Patch for OracleFileSystem > OracleFileSystem uses getCl

[jira] Created: (JCR-987) Deploy JCA JAR file to maven repository

2007-06-27 Thread Marcel May (JIRA)
Deploy JCA JAR file to maven repository --- Key: JCR-987 URL: https://issues.apache.org/jira/browse/JCR-987 Project: Jackrabbit Issue Type: Task Components: jca Reporter: Marcel May

[jira] Created: (JCR-988) Configure the maven build for IDE project generation for IDEA and Eclipse

2007-06-27 Thread Marcel May (JIRA)
Type: Improvement Components: maven Reporter: Marcel May Priority: Trivial Can we add a plugin configuration for the maven-idea-plugin and maven-eclipse-plugin, with JDK version set for IDEA and configured source download of dependencies? Simplifies project

[jira] Updated: (JCR-988) Configure the maven build for IDE project generation for IDEA and Eclipse

2007-06-27 Thread Marcel May (JIRA)
[ https://issues.apache.org/jira/browse/JCR-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel May updated JCR-988: Attachment: patch.txt Patch for idea and eclipse plugin configuration > Configure the maven build for

[jira] Created: (JCR-1013) Connection.setAutoCommit(...) fails if connection is managed for JNDIDatabasePersistenceManager

2007-07-05 Thread Marcel May (JIRA)
Project: Jackrabbit Issue Type: Bug Affects Versions: 1.3 Environment: JBoss, Jackrabbit 1.3, JNDIDatabasePersistenceManager Reporter: Marcel May Invoking setAutoCommit() on a db connection fails if the connection is managed. I propose as a workaround

[jira] Updated: (JCR-1013) Connection.setAutoCommit(...) fails if connection is managed for JNDIDatabasePersistenceManager

2007-07-05 Thread Marcel May (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel May updated JCR-1013: - Attachment: patch.txt Patch for DatabasePersistenceManager and DatabaseFileSystem.java

[jira] Commented: (JCR-1013) Connection.setAutoCommit(...) fails if connection is managed for JNDIDatabasePersistenceManager

2007-07-09 Thread Marcel May (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511201 ] Marcel May commented on JCR-1013: -- Yes, thanks. For DatabasePersistenceManager there is no auto commit enabled, for

[jira] Created: (JCR-1077) Changelog not persisted during two phase commit in prepare phase

2007-08-22 Thread Marcel May (JIRA)
Components: jca Affects Versions: 1.3.1 Reporter: Marcel May Currently, in a XA TX the changelog is only kept in memory in the prepare phase and therefore potentially lost before the final commit phase finishes. A successful prepare() guarantees the persistence of the changes

[jira] Commented: (JCR-1305) JNDI data sources with BundleDbPersistenceManager: UnsupportedOperationException

2008-01-10 Thread Marcel May (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557692#action_12557692 ] Marcel May commented on JCR-1305: -- Using JK in an app server environment with man

[jira] Commented: (JCR-1305) JNDI data sources with BundleDbPersistenceManager: UnsupportedOperationException

2008-01-11 Thread Marcel May (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557994#action_12557994 ] Marcel May commented on JCR-1305: -- It seems that for app server environment (eg JBoss

[jira] Commented: (JCR-1349) JNDIDatabasePersistenceManager calls commit

2008-02-03 Thread Marcel May (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565163#action_12565163 ] Marcel May commented on JCR-1349: -- Deploy Jackrabbit using the JCA adapter and confi