Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-850

Do not swallow the SQLException when creating the table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.5.0
    • 2.0.0
    • Broker
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmesnil Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: