Migrate from Old OraclePersistenceManager to new Bundle OraclePersistenceManager

2007-04-24 Thread KÖLL Claus
As i see in the oracle.ddl file from the new bundle persistence managers it will create a new table (BUNDLE) What do i have to do to migrate a old workspace ? BR, claus

Re: Migrate from Old OraclePersistenceManager to new Bundle OraclePersistenceManager

2007-04-24 Thread Jukka Zitting
Hi, On 4/24/07, KÖLL Claus [EMAIL PROTECTED] wrote: As i see in the oracle.ddl file from the new bundle persistence managers it will create a new table (BUNDLE) What do i have to do to migrate a old workspace? I would create a new workspace with the bundle configuration and use

AW: Migrate from Old OraclePersistenceManager to new Bundle OraclePersistenceManager

2007-04-24 Thread KÖLL Claus
hi jukka, thanks for the info. i hope someone contribute such a migration util ... BR, claus -Ursprüngliche Nachricht- Von: Jukka Zitting [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 24. April 2007 10:06 An: dev@jackrabbit.apache.org Betreff: Re: Migrate from Old

[jira] Commented: (JCR-778) Error on query initialization - intermittent

2007-04-24 Thread Michael Neale (JIRA)
[ https://issues.apache.org/jira/browse/JCR-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491216 ] Michael Neale commented on JCR-778: --- A simpler way to reproduce: public void testIt() throws Exception {

AW: Migrate from Old OraclePersistenceManager to new Bundle OraclePersistenceManager

2007-04-24 Thread KÖLL Claus
One question to workspace.clone .. will be the uuids generated again or will they been taken from the source workspace? thanks claus -Ursprüngliche Nachricht- Von: KÖLL Claus [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 24. April 2007 10:12 An: dev@jackrabbit.apache.org Betreff: AW:

Re: NGP: Value records

2007-04-24 Thread David Nuescheler
hi jukka, i am very much in favor of such an approach. My idea is to store each value in a unique and immutable value record identified by a value identifier. Duplicate values are only stored once in a single value record. This saves space especially when storing multiple copies of large

Re: Migrate from Old OraclePersistenceManager to new Bundle OraclePersistenceManager

2007-04-24 Thread Jukka Zitting
Hi, On 4/24/07, KÖLL Claus [EMAIL PROTECTED] wrote: One question to workspace.clone .. will be the uuids generated again or will they been taken from the source workspace? Workspace.clone() preserves UUIDs, see the API javadocs for the details. BR, Jukka Zitting

Re: NGP: Value records

2007-04-24 Thread Jukka Zitting
Hi, On 4/24/07, David Nuescheler [EMAIL PROTECTED] wrote: A value record would essentially be an array of bytes as defined in Value.getStream(). In other words the integer value 123 and the string value 123 would both be stored in the same value record. More specific typing information

Bundle-OraclePersistenceManager

2007-04-24 Thread KÖLL Claus
hi is not possible to configure the new persistencemanager to use externalblobs ? if i try to set externalBLOB's=true i get a exception javax.jcr.RepositoryException: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager: The bean of

Re: NGP: Value records

2007-04-24 Thread Julian Reschke
Jukka Zitting wrote: Hi, I started prototyping the next generation persistence proposal discussed before, and would like feedback on an idea on how to store values in this persistence model. My idea is to store each value in a unique and immutable value record identified by a value identifier.

[jira] Created: (JCR-862) unsynchronized access on 'itemCache' map in ItemManager

2007-04-24 Thread Tobias Bocanegra (JIRA)
unsynchronized access on 'itemCache' map in ItemManager Key: JCR-862 URL: https://issues.apache.org/jira/browse/JCR-862 Project: Jackrabbit Issue Type: Bug Components: core

[jira] Assigned: (JCR-862) unsynchronized access on 'itemCache' map in ItemManager

2007-04-24 Thread Stefan Guggisberg (JIRA)
[ https://issues.apache.org/jira/browse/JCR-862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Guggisberg reassigned JCR-862: - Assignee: Stefan Guggisberg unsynchronized access on 'itemCache' map in ItemManager

Re: Migrate from Old OraclePersistenceManager to new Bundle OraclePersistenceManager

2007-04-24 Thread Christoph Kiehl
Jukka Zitting wrote: As i see in the oracle.ddl file from the new bundle persistence managers it will create a new table (BUNDLE) What do i have to do to migrate a old workspace? I would create a new workspace with the bundle configuration and use Workspace.clone() to copy all content to the

Re: Migrate from Old OraclePersistenceManager to new Bundle OraclePersistenceManager

2007-04-24 Thread Christoph Kiehl
Christoph Kiehl wrote: I tried the following: testWorkspace.clone(default, / , / , false); My second try was to just clone one of our root nodes: testWorkspace.clone(default, /content , /content , false); This failed because of the following exception: Caused by:

DateField class should be public

2007-04-24 Thread James Hang
Is there a reason why the org.apache.jackrabbit.core.query.lucene.DateField class is not public (even though its methods are public)? All the other type Field classes are public (LongField, DoubleField, etc.). James -- View this message in context:

SPI F2F?

2007-04-24 Thread Julian Reschke
Hi, while work on the SPI API itself, and the various implementation parts in Jackrabbit progresses nicely, I'm wondering whether it would make sense to get interested people into the same room for a few days. Topics could be: - resolving remaining open issues with the SPI itself, -

[jira] Created: (JCR-863) Patch to use FileLock for locking instead of empty file

2007-04-24 Thread Michael Neale (JIRA)
Patch to use FileLock for locking instead of empty file --- Key: JCR-863 URL: https://issues.apache.org/jira/browse/JCR-863 Project: Jackrabbit Issue Type: Improvement Affects

[jira] Updated: (JCR-863) Patch to use FileLock for locking instead of empty file

2007-04-24 Thread Michael Neale (JIRA)
[ https://issues.apache.org/jira/browse/JCR-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Neale updated JCR-863: -- Component/s: core Patch to use FileLock for locking instead of empty file

[jira] Updated: (JCR-863) Patch to use FileLock for locking instead of empty file

2007-04-24 Thread Michael Neale (JIRA)
[ https://issues.apache.org/jira/browse/JCR-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Neale updated JCR-863: -- Attachment: FSDirectory.patch Here is the patch. Please let me know if any more info is required. Patch