public void close() throws AdeInternalException {
  if (dbConnection != null) {
    try {
      dbConnection.close();
    }
 catch (    SQLException e) {
      throw new AdeInternalException("Failed closing connection ",e);
    }
 finally {
      dbConnection=null;
    }
  }
  if (embeddedDBConnection != null) {
    closeEmbeddedDBConnection();
  }
}

public void close ( ) throws AdeInternalException { if ( dbConnection != null ) { try { dbConnection . close ( ) ; } catch ( SQLException e ) { throw new AdeInternalException ( "Failed closing connection " , e ) ; } finally { dbConnection = null ; } } if ( embeddedDBConnection != null ) { closeEmbeddedDBConnection ( ) ; } }
closes the connection . < p > it will close the server connection or the embedded connection . note that we can have only one at any given time .
