Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-112

Delete via Join deletes all records in the table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3
    • 4.0-beta1
    • Runtime
    • None
    • mysql, at least, though I suspect this bug is not database-specific.

    Description

      When I delete using a criteria that contains a join, instead of only the records of interest being deleted, all records are deleted.

      Attachments

        1. JoinedDeleteTest.java
          2 kB
          Carl Manaster

        Activity

          People

            tfischer Thomas Fox
            carlmanaster Carl Manaster
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 72h
                72h
                Logged:
                Time Spent - Not Specified
                Not Specified