code: @Override
      public synchronized void dropEntity(final DbEntity entity) throws DatabaseEngineException {
          dropSequences(entity);
          dropTable(entity);
          entities.remove(entity.getName());
          logger.trace("Entity {} dropped", entity.getName());
      }
docs: Drops everything that belongs to the entity.
  
  @param entity The entity.
  @throws DatabaseEngineException If something goes wrong while dropping the structures.