Add work-around allowing the reserved keyword “value“ as identifier

See <https://www.h2database.com/html/commands.html#set_non_keywords>
This commit is contained in:
Tobi Schäfer 2025-05-30 22:14:54 +02:00
parent 22013f2267
commit 67573db0e0
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
antville.url = jdbc:h2:./db/antville;ifexists=true;mode=postgresql
antville.url = jdbc:h2:./db/antville;ifexists=true;mode=postgresql;non_keywords=value
antville.driver = org.h2.Driver
antville.user = antville
antville.password = antville

View file

@ -130,7 +130,7 @@ tasks.register('buildDatabase', JavaExec) {
args = [
'-continueOnError',
'-script', inputFile,
'-url', "jdbc:h2:$outputDir/antville",
'-url', "jdbc:h2:$outputDir/antville;mode=postgresql;non_keywords=value",
'-user', 'antville',
'-password', 'antville'
]