code: public synchronized void setCatalog(String catalog) throws SQLException {
  
          checkClosed();
  
          try {
              sessionProxy.setAttribute(SessionInterface.INFO_CATALOG, catalog);
          } catch (HsqlException e) {
              throw Util.sqlException(e);
          }
      }
docs: <!-- start generic documentation -->
  
  Sets the given catalog name in order to select
  a subspace of this <code>Connection</code> object's database
  in which to work.
  <P>
  
  (JDBC4 Clarification:)<p>
  If the driver does not support catalogs, it will
  silently ignore this request.
  
  <!-- end generic documentation -->
  <!-- start release-specific documentation -->
  <div class="ReleaseSpecificDocumentation">
  <h3>HSQLDB-Specific Information:</h3> <p>
  
  HSQLDB supports a single catalog per database. If the given catalog name
  is not the same as the database catalog name, this method throws an
  error. <p>
  </div> <!-- end release-specific documentation -->
  
  @param catalog the name of a catalog (subspace in this
  <code>Connection</code> object's database) in which to work
  @exception SQLException if a database access error occurs
  (JDBC4 Clarification)
  or this method is called on a closed connection
  @see #getCatalog