code: public void setCatalog(final String catalog) throws SQLException {
          try
          {
              protocol.setCatalog(catalog);
          }
          catch (QueryException e)
          {
              throw SQLExceptionMapper.get(e);
          }
      }
docs: Sets the given catalog name in order to select a subspace of this <code>Connection</code> object's database in
  which to work.
  <p/>
  If the driver does not support catalogs, it will silently ignore this request.
  
  @param catalog the name of a catalog (subspace in this <code>Connection</code> object's database) in which to
  work
  @throws java.sql.SQLException if a database access error occurs or this method is called on a closed connection
  @see #getCatalog