938fbd81cb
Replace GenericSQLProvider and other implementation by a single PropertySQLProvider that uses properties to define SQL queries. SQL queries are loaded from the journal-sql.properties file. Queries specific to a DB dialect can be specified by adding a suffix to the key of the generic property. For example, the generic property to create a file Table is: create-file-table = CREATE TABLE %s (ID BIGINT AUTO_INCREMENT, ...) This property can be customized for Derby by using the create-file-table.derby property: create-file-table.derby=CREATE TABLE %s (ID BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1),... JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1590 |
||
---|---|---|
.. | ||
src | ||
pom.xml |