jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Landelle (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1725) DbDataStore init fails if tablePrefix specified
Date Wed, 27 Aug 2008 13:11:44 GMT
DbDataStore init fails if tablePrefix specified
-----------------------------------------------

                 Key: JCR-1725
                 URL: https://issues.apache.org/jira/browse/JCR-1725
             Project: Jackrabbit
          Issue Type: Bug
    Affects Versions: core 1.4.5
            Reporter: Stephane Landelle


In DbDataStore, init method checks if the table exists and otherwise creates it.
However, the test only take the table name and not the optional table name prefix.

Please modify :
ResultSet rs = meta.getTables(null, null, tableSQL, null);
as :
ResultSet rs = meta.getTables(null, null, tablePrefix + tableSQL, null);

Sincerely,

Stephane Landelle

-- 
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