Fixes for JDBCConfig, need a few tests