Announcement Announcement Module
Collapse
No announcement yet.
Sorting records in MappingSqlQuery Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sorting records in MappingSqlQuery

    Hi,
    I have a MappingSqlQuery that reads a data set sorted with an ORDER BY statement in SQL. Yet in the returned linked list, I see that the last element is not the last record that would be returned by the SQL. How do I ensure that the ordering is correct?
    Thanks.

  • #2
    This should not be the case. Can you provide the SQL and how you know the final element does not correspond to the last row if issuing the SQL directly to the database?

    Comment


    • #3
      Never mind, the problem has been resolved. Thanks for the help.
      Last edited by imchi; Dec 4th, 2007, 04:23 PM.

      Comment


      • #4
        It's always nice to give the next one an idea what the issue was and how it was resolved ...

        Joerg

        Comment


        • #5
          Originally posted by Jörg Heinicke View Post
          It's always nice to give the next one an idea what the issue was and how it was resolved ...

          Joerg
          It was an error in my SQL statement. Not related to the Spring framework.

          Comment

          Working...
          X