I have found some problems with postgres and the org.apache.jackrabbit.core
.persistence.bundle.BundleDbPersistenceManager


The ddl that creates teh schema creates it with the NODE_ID_HI, NODE_ID_LO
as the primary keys.

The problem is that within the BundleDbPersistenceManager  it cannot call
the selects for that.


It has code like

if (getStorageModel() == SM_BINARY_KEYS) {
            bundleInsertSQL = "insert into " + schemaObjectPrefix + "BUNDLE
(BUNDLE_DATA, NODE_ID) values (?, ?)";
            .....
        } else {
            bundleInsertSQL = "insert into " + schemaObjectPrefix + "BUNDLE
(BUNDLE_DATA, NODE_ID_HI, NODE_ID_LO) values (?, ?, ?)";
           ......
        }

but the method getStorageModel()  returns SM_BINARY_KEYS so the else part of
the condition cannot be reached.


I updated the ddl which got me further but then I had issues because the
DbNameIndex has teh following code
rs = stmt.getGeneratedKeys();

This is not implemented by even the latest pgJDBCDriver.  So the method
fails.

I am wondering a few things.

1. How do you guys work with community submitted code?
2. Have these bugs already been dealt with?

3.  If the answer to one is good :-) meaning it is easy what is the best way
for me to develop and build JR.  Can it all be done in Eclipse?

Thanks,
Jason S. Tesser
Lead Programmer
www.dotmarketing.com
www.dotcms.org
Dotmarketing, Inc.
3059 Grand Avenue
Suite 440
Miami, FL 33133
T: 305.858.1422  x279
F: 786.594.5288

Reply via email to