GitHub user nlippke opened a pull request:
https://github.com/apache/activemq-artemis/pull/1822
Allow existing empty tables
In some environments it is not allowed to create a schema
by the application itself. With this change the AbstractJDBCDriver
now tests if an existing table is empty and executes further
statements in the same way it would if the table does not exist.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nlippke/activemq-artemis
allow_existing_empty_tables
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1822.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1822
----
commit e3c2c59ed4029ffb7a81deb2a71c0d4135940126
Author: Niels Lippke <nlippke@...>
Date: 2018-01-28T16:53:35Z
Allow database tables to be created externally
In some environments it is not allowed to create a schema
by the application itself. With this change the AbstractJDBCDriver
now tests if an existing table is empty and executes further
statements in the same way as if the table does not exist.
commit f75bc051fe38d9afc0058e8d16e108274eccfec4
Author: Niels Lippke <nlippke@...>
Date: 2018-01-28T18:03:07Z
Fixed code formatting.
----
---