Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7648

Do not swallow the SQLException when creating the table

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.DR11
    • 7.1.0.DR9
    • ActiveMQ
    • None

      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

              fnigro Francesco Nigro
              eduda_jira Erich Duda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: