Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1299

Order by items are applied in alphabetic order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.8.2
    • Data-Module
    • None

    Description

      DeltaSpike data applies the order bys in parsed methods in alphabetic order which leads to semantically incorrect queries.
      For example, the method findAllOrderByNameAscIdDesc produces the following query:

      select * from ... order by id desc, name asc
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Mobe Moritz Becker
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m