You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2017/05/08 19:26:05 UTC

[jira] [Closed] (ARTEMIS-850) Do not swallow the SQLException when creating the table

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

clebert suconic closed ARTEMIS-850.
-----------------------------------
       Resolution: Duplicate
    Fix Version/s: 2.0.0

> Do not swallow the SQLException when creating the table
> -------------------------------------------------------
>
>                 Key: ARTEMIS-850
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-850
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.5.0
>            Reporter: Jeff Mesnil
>             Fix For: 2.0.0
>
>
> The AbstractJDBCDriver[1] swallows the SQLException if the table can not be created and does not report the error to the user (who has no idea what went wrong).
> Instead it should propagate the exception (after the connection is rolled back)
> [1] https://github.com/apache/activemq-artemis/blob/master/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/drivers/AbstractJDBCDriver.java#L124



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)