With H2 version 2.1.214 and the JDBC URL jdbc:h2:tcp://localhost/MY_DB;AUTO_SERVER=TRUE;IGNORECASE=TRUE;NON_KEYWORDS=INTERVAL,VALUESI get this Exception:Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported connection setting "NON_KEYWORDS" [90113-200]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:622)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
at org.h2.message.DbException.get(DbException.java:205)
at org.h2.message.DbException.get(DbException.java:181)
at org.h2.engine.ConnectionInfo.readSettingsFromURL(ConnectionInfo.java:269)
at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:78)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
at org.h2.Driver.connect(Driver.java:69)
I start H2 over TCP with this:java -cp /opt/h2-2.1.214/bin/h2-2.1.214.jar org.h2.tools.Server -baseDir $HOME/my_db -ifNotExists -tcp -tcpAllowOthers -tcpPort 9092 1>my_db.log 2>&1
With H2 version 2.1.214 and the JDBC URL jdbc:h2:tcp://localhost/MY_DB;AUTO_SERVER=TRUE;IGNORECASE=TRUE;NON_KEYWORDS=INTERVAL,VALUESI get this Exception:Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported connection setting "NON_KEYWORDS" [90113-200]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:622)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:429)
at org.h2.message.DbException.get(DbException.java:205)
at org.h2.message.DbException.get(DbException.java:181)
at org.h2.engine.ConnectionInfo.readSettingsFromURL(ConnectionInfo.java:269)
at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:78)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152)
at org.h2.Driver.connect(Driver.java:69)You need to use some modern version of H2 on client side too.
I start H2 over TCP with this:java -cp /opt/h2-2.1.214/bin/h2-2.1.214.jar org.h2.tools.Server -baseDir $HOME/my_db -ifNotExists -tcp -tcpAllowOthers -tcpPort 9092 1>my_db.log 2>&1Documentation of H2 has clear warning about combination of -ifNotExists with -tcpAllowOthers, this combination of settings effectively creates a remote security hole on you system unless your ports are guarded somehow.
https://h2database.com/html/tutorial.html#creating_new_databases