You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stephane Landelle (JIRA)" <ji...@apache.org> on 2008/08/27 15:11:44 UTC

[jira] Created: (JCR-1725) DbDataStore init fails if tablePrefix specified

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.


[jira] Resolved: (JCR-1725) DbDataStore init fails if tablePrefix specified

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller resolved JCR-1725.
---------------------------------

    Resolution: Duplicate

Duplicate of JCR-1366

> 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
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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.


[jira] Commented: (JCR-1725) DbDataStore init fails if tablePrefix specified

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626380#action_12626380 ] 

Thomas Mueller commented on JCR-1725:
-------------------------------------

You are not the first to stumble across this problem:
see https://issues.apache.org/jira/browse/JCR-1366

We probably need to improve this, but let's discuss what
to do on the issue 1366. 

> 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
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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.