code: final public void doRepair(ResultSet resultSet) throws SQLException
     {
        WorkspaceStorageConnection conn = null;
        try
        {
           conn = connFactory.openConnection(false);
           if (!(conn instanceof JDBCStorageConnection))
           {
              throw new SQLException("Connection is instance of " + conn.getClass());
           }
  
           repairRow((JDBCStorageConnection)conn, resultSet);
  
           conn.commit();
        }
        catch (RepositoryException e)
        {
           rollback(conn);
           throw new SQLException(e);
        }
        catch (SQLException e)
        {
           rollback(conn);
           throw e;
        }
     }
docs: {@inheritDoc}