Interface DeletionSQLAdapter

    • Method Detail

      • getObjectId

        String getObjectId()
        Returns the string value of the object we're querying for. Used for logging.
        Returns:
      • getResultSummaryDeleteWhenCondition

        String getResultSummaryDeleteWhenCondition()
        Condition used in a WHEN clause in BUILDRESULTSUMMARY eg. "delete from BUILDRESULTSUMMARY where " + getResultSummaryDeleteCondition()
        Returns:
      • getResultSummaryInCondition

        String getResultSummaryInCondition()
        Inner condition used in a WHEN BUILDRESULTSUMMARY_ID IN e.g. "delete from REPOSITORY_CHANGESET where BUILDRESULTSUMMARY_ID in " + getResultSummaryInCondition()
        Returns:
      • setObjectInStatement

        void setObjectInStatement​(PreparedStatement statement,
                                  int index)
                           throws SQLException
        Sets the current object in the statement given the right index
        Parameters:
        statement -
        index -
        Throws:
        SQLException