(non-PHPdoc)
@see Phine/Framework/Database/Interfaces/IDatabaseConnection#Close()
193086
function Close()
    {
        if ($this->connected)
        {
            if ($this->inTransaction)
                $this->Commit();

            $this->db->close();
            /* $this->AssertSuccess(); */
            $this->connected = false;
        }
    }
817611
public function close(): void
    {
        if (!sqlsrv_free_stmt($this->stmt)) {
            throw new SqlException('Failed to close statement', sqlsrv_errors(), $this->query, $this->params);
        }
    }
1133225
public void close ()
        throws SQLException
    {
        if (_result != null) {
            _result.close();
            _result = null;
        }
        if (_stmt != null) {
            _stmt.close();
            _stmt = null;
        }
    }
1193674
public void close() {
    synchronized (lock) {
      while (!available.isEmpty()) {
        PooledConnection pci = available.pop();
        try {
          pci.close();
        } catch (SQLException e) {
        }
      }
      available = null;
      while (!used.isEmpty()) {
        PooledConnection pci = used.pop();
        pci.removeConnectionEventListener(connectionEventListener);
        try {
          pci.close();
        } catch (SQLException e) {
        }
      }
      used = null;
    }
    removeStoredDataSource();
  }
814616
public void close()
    {
        if (m_mapTable != null)
        {
            Iterator<BaseTable> iterator = this.getTables();
            while (iterator.hasNext())
            {
                BaseTable table = iterator.next();
                if ((table != null) && (table != this.getNextTable()))
                {
                    Record record = table.getRecord();
                    if (record != null)
                        record.close();
                }
            }
        }
        if (m_tableNext != null)
            m_tableNext.close();
        super.close();
    }
76814
@Override
	public void close() {
		AppEngineTransaction tx = transaction.get();
		
		if (tx != null) {
			tx.rollback();
		}
	}
134535
public function close()
    {
        $stmt = null;
        $stmt = $this->getDbStatement(self::cyrus()->getDatabase());

        $stmt->closeCursor();
        $this->pdo = null;
        $this->closed = true;
    }
973030
@Override
  public void close() {
    if (isClosed())
      return;

    objects2Records.clear();
    records2Objects.clear();
    rid2Records.clear();

    checkOpeness();
    rollback();

    getMetadata().close();
    ((ODatabaseRaw) ((ODatabaseRecord) underlying.getUnderlying()).getUnderlying()).callOnCloseListeners();
    getLevel1Cache().clear();

    ownerPool.release(this);
    ownerPool = null;
  }
319547
protected void closeConnection() throws SQLException {
        if (connection != null && !connection.isClosed()) {
            connection.close();
            connection = null;
        }

    }
629220
public void close() {
        try {
            String username = dataSource.getUsername();
            String password = dataSource.getPassword();
            dataSource.close();

            if (isEmbeddedDB()) {
                shutdownEmbeddedDB(username, password);
            }
        } catch (SQLException sqle) {
            logger.warn("Unable to close pool", sqle);
        } finally {
            if (logger.isDebugEnabled()) {
                logger.debug("Closed pool (" + toString() + ")");
            }
        }
    }
744719
@Override
  public void close()
    throws IOException
  {
    if (_isClosed) {
      return;
    }
    
    _isClosed = true;
    
    flushBlock(true);
      
    _cursor.setBlob(_column.index(), this);
  }
951904
@Close
	public void close() {
        DatastoreConnection con = getDatastoreConnections().poll();
		if (con != null) {
			logger.info("Closing dictionary: {}", this);
			con.close();
		}
	}
414788
@Override
  public void close() {
    if (isClosed())
      return;

    vertexBaseClass = null;
    edgeBaseClass = null;

    checkOpeness();
    rollback();

    getMetadata().close();
    ((ODatabaseRaw) underlying.getUnderlying()).callOnCloseListeners();
    getLevel1Cache().clear();

    final OGraphDatabasePool pool = ownerPool;
    ownerPool = null;
    pool.release(this);
  }
495321
def close(self):
        
        super(LockingDatabase, self).close()
        if not self.readonly:
            self.release_lock()
1344253
public void close() {
        while (getCurrentResultSet() != null) {
            try {
                closeResultSet(getCurrentResultSet());

                setCurrentResultSet(getNextResultSet());
            } catch (SQLException ex) {
                // considering that all ResultSets are closed
                setCurrentResultSet(null);
            }
        }

        MjdbcUtils.closeQuietly(stmt);
    }
718593
@Override
  public void close() throws SQLException {
    super.close();
    if (connection == null || connection.pooledConnection == null
        || connection.pooledConnection.noStmtEventListeners()) {
      return;
    }
    connection.pooledConnection.fireStatementClosed(this);
    connection = null;
  }
814405
public void close()
    {
        super.close();  // Do any inherrited
        try   {
            if (m_JDBCConnection != null)
                m_JDBCConnection.close();
        } catch (SQLException ex) {
                // Ignore error
        }
        m_JDBCConnection = null;
    }