[ 
https://issues.apache.org/jira/browse/JCR-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Omid Milani updated JCR-2821:
-----------------------------

    Attachment: jackrabbit-psql.patch

> 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
>
>         Attachments: jackrabbit-psql.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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.

Reply via email to