jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Köll (JIRA) <j...@apache.org>
Subject [jira] [Updated] (JCR-3445) PostgreSQL error with setValidationQueryTimeout
Date Thu, 22 Nov 2012 12:58:59 GMT

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

Claus Köll updated JCR-3445:
----------------------------

    Attachment: JCR-3445-2.patch

Whats about this patch ? As i can see the PostgreSQL Driver will return false on jdbcCompliant().
It's also not the best solution but we have no postgres specific logic inside the ConnectionFactory.
                
> PostgreSQL error with setValidationQueryTimeout
> -----------------------------------------------
>
>                 Key: JCR-3445
>                 URL: https://issues.apache.org/jira/browse/JCR-3445
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4.3, 2.5.2
>         Environment: Linux Ubuntu 10.04 server with PostgreSQL 9.1 remote DB
>            Reporter: Luca Tagliani
>            Assignee: Bart van der Schans
>            Priority: Critical
>             Fix For: 2.4.4, 2.5.3
>
>         Attachments: catalina.out, JCR-3445-1.patch, JCR-3445-2.patch, JCR-3445.patch,
repositorySimple.xml
>
>
> In this version inside o.a.j.c.util.db.ConnectionFactory class, it's been added a validationQueryTimeout
(line 344).
> The problem is that the use of queryTimeout is not implemented in any PostgreSQL jdbc
driver (see http://jdbc.postgresql.org/todo.html Compliance section)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message