code: public synchronized String getCatalog() throws SQLException {
  
          checkClosed();
  
          try {
              return (String) sessionProxy.getAttribute(
                  SessionInterface.INFO_CATALOG);
          } catch (HsqlException e) {
              throw Util.sqlException(e);
          }
      }
docs: <!-- start generic documentation -->
  
  Retrieves this <code>Connection</code> object's current catalog name.
  
  <!-- end generic documentation -->
  <!-- start release-specific documentation -->
  <div class="ReleaseSpecificDocumentation">
  <h3>HSQLDB-Specific Information:</h3> <p>
  
  HSQLDB supports a single catalog per database. This method
  returns the catalog name for the current database
  error. <p>
  
  </div> <!-- end release-specific documentation -->
  
  @return the current catalog name or <code>null</code> if there is none
  @exception SQLException if a database access error occurs
  (JDBC4 Clarification:)
  or this method is called on a closed connection
  @see #setCatalog