You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2011/03/18 22:55:29 UTC

[jira] Updated: (SLING-2030) LockManager uses SQL2 query

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

Justin Edelson updated SLING-2030:
----------------------------------

    Attachment: SLING-2030.patch

here's a patch. seems to work locally, but I'd like someone more familiar with this module to take a look.

> LockManager uses SQL2 query
> ---------------------------
>
>                 Key: SLING-2030
>                 URL: https://issues.apache.org/jira/browse/SLING-2030
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: Extensions Event 3.0.2
>            Reporter: Justin Edelson
>             Fix For: Extensions Event 3.0.4
>
>         Attachments: SLING-2030.patch
>
>
> this query is slow:
> final Query q = qm.createQuery("select * from [nt:base] where [" + JCRHelper.NODE_PROPERTY_LOCK_OWNER + "] = '" + searchString + "'", Query.JCR_SQL2);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira