In MS SQL, it is possible to set url+";appName=CRMApp", which is just meant as a hint of who is accessing in regards to logging, usage stats etc.
When I set that, and connect to H2, I get: org.h2.jdbc.JdbcSQLException: Unsupported connection setting "APPNAME" [90113-181] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[h2-1.4.181.jar:1.4.181] at org.h2.message.DbException.get(DbException.java:179) ~[h2-1.4.181.jar:1.4.181] at org.h2.message.DbException.get(DbException.java:155) ~[h2-1.4.181.jar:1.4.181] at org.h2.engine.ConnectionInfo.readSettingsFromURL(ConnectionInfo.java:269) ~[h2-1.4.181.jar:1.4.181] at org.h2.engine.ConnectionInfo.<init>(ConnectionInfo.java:77) ~[h2-1.4.181.jar:1.4.181] at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92) ~[h2-1.4.181.jar:1.4.181] at org.h2.Driver.connect(Driver.java:72) ~[h2-1.4.181.jar:1.4.181] Would it be possible to allow for this connection setting, by at least just ignoring it - or maybe more interesting, actually keeping the name in the connection? It would be nice to not have to include special handling for when accessing H2 instead of MS SQL. Thanks, Endre. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
