Are you in a position where you can attach a debugger and set some breakpoints in the HikariCP code? From everything I've looked at, those properties should be working. Here is what I've analyzed:
private boolean addConnection() {
...
IHikariConnectionProxy pc = ProxyFactory.getProxyConnection(this, connection, ... isAutoCommit, isReadOnly, catalog);
pc.resetConnectionState();
...
}
protected ConnectionProxy(... boolean defaultAutoCommit, boolean defaultReadOnly, String defaultCatalog) {
this.defaultAutoCommit = defaultAutoCommit;
this.defaultCatalog = defaultCatalog;
...
isCatalogDirty = true;
isAutoCommitDirty = true;
}
public final void resetConnectionState() throws SQLException {
...
if (isAutoCommitDirty) {
delegate.setAutoCommit(defaultAutoCommit);
isAutoCommitDirty = false;
}
if (isCatalogDirty && defaultCatalog != null) {
delegate.setCatalog(defaultCatalog);
isCatalogDirty = false;
}
}
So assuming the properties are making it into the Hikari config correctly, it is difficult to see how they could fail to be set. Maybe put a breakpoint in the ConnectionProxy constructor and check defaultAutoCommit and defaultCatalog, and put a breakpoint in ConnectionProxy.resetConnectionState() can verify that the delegate is being called to set those properly.
I can't see anything wrong with your configuration, so a little debugging assistance would be appreciated.