jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omid Milani (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2821) Consistency check/fix doesn't work with PSQL persistence manager
Date Thu, 25 Nov 2010 13:39:15 GMT
Consistency check/fix doesn't work with PSQL persistence manager
----------------------------------------------------------------

                 Key: JCR-2821
                 URL: https://issues.apache.org/jira/browse/JCR-2821
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.1.2
         Environment: PostgreSQL for persistence manager
            Reporter: Omid Milani
            Priority: Minor
             Fix For: 2.1.2


PSQL doesn't save blobs directly into table row, instead saves a link there and puts the binary
stream somewhere else. The general consistency check method in BundleDBPersistenceManager
doesn't take this into account.
I've fixed this by changing getBytes(Blob) method in BundleDbPersistenceManager to getBytes(ResultSet)
and overriding it for PSQL.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message