jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Shyrkov (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3100) DbDataStore should "normalize" the schemaObjectPrefix value same way others do
Date Fri, 07 Oct 2011 11:30:29 GMT
DbDataStore should "normalize" the schemaObjectPrefix value same way others do

                 Key: JCR-3100
                 URL: https://issues.apache.org/jira/browse/JCR-3100
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.2.4
         Environment: MySQL (unfortunately with case-sensitive table names)
            Reporter: Sergiy Shyrkov
            Priority: Trivial

Would be nice if the DbDataStore performs same "normalization" on the schemaObjectPrefix value
as it is done e.g. in o.a.j.c.fs.db.DatabaseFileSystem.init(), o.a.j.c.journal.DatabaseJournal.init(String,
NamespaceResolver) and o.a.j.c.p.pool.BundleDbPersistenceManager.init(PMContext), namely:

        // make sure schemaObjectPrefix consists of legal name characters only
        schemaObjectPrefix = conHelper.prepareDbIdentifier(schemaObjectPrefix);

It does converts the prefix to uppercase and prevents some mistakes in configuration.
The issue is really trivial.

Thanks in advance

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message