Some apps do not make use of JDBC's Connection#setCatalog API, but instead expect to be able to construct a connection string containing a default catalog and reinit a connection with the formed connection string every time the user selects a different catalog.
The connection string could look like es:jdbc://address:port/catalog?attr=value.