You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Martijn Hendriks (JIRA)" <ji...@apache.org> on 2007/04/12 08:12:32 UTC

[jira] Created: (JCR-841) BundleDbPersistenceManager does not work with MySQL

BundleDbPersistenceManager does not work with MySQL
---------------------------------------------------

                 Key: JCR-841
                 URL: https://issues.apache.org/jira/browse/JCR-841
             Project: Jackrabbit
          Issue Type: Bug
          Components: core
            Reporter: Martijn Hendriks


It seems that the bundle persistence manager base does not work with MySQL. A SQLException is thrown on the line "con.commit();" in BundleDbPersistenceManager.checkSchema() because autoCommit is set to true in the init method. For some reason, this is ignored by the Oracle and MSSQL drivers. Anyway, commenting out the line fixes the issue, I think.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-841) BundleDbPersistenceManager does not work with MySQL

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

Jukka Zitting resolved JCR-841.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Fixed in revision 527793. Thanks for spotting this!

> BundleDbPersistenceManager does not work with MySQL
> ---------------------------------------------------
>
>                 Key: JCR-841
>                 URL: https://issues.apache.org/jira/browse/JCR-841
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>            Reporter: Martijn Hendriks
>         Assigned To: Jukka Zitting
>             Fix For: 1.3
>
>
> It seems that the bundle persistence manager base does not work with MySQL. A SQLException is thrown on the line "con.commit();" in BundleDbPersistenceManager.checkSchema() because autoCommit is set to true in the init method. For some reason, this is ignored by the Oracle and MSSQL drivers. Anyway, commenting out the line fixes the issue, I think.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (JCR-841) BundleDbPersistenceManager does not work with MySQL

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

Jukka Zitting reassigned JCR-841:
---------------------------------

    Assignee: Jukka Zitting

> BundleDbPersistenceManager does not work with MySQL
> ---------------------------------------------------
>
>                 Key: JCR-841
>                 URL: https://issues.apache.org/jira/browse/JCR-841
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>            Reporter: Martijn Hendriks
>         Assigned To: Jukka Zitting
>
> It seems that the bundle persistence manager base does not work with MySQL. A SQLException is thrown on the line "con.commit();" in BundleDbPersistenceManager.checkSchema() because autoCommit is set to true in the init method. For some reason, this is ignored by the Oracle and MSSQL drivers. Anyway, commenting out the line fixes the issue, I think.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.