Announcement Announcement Module
Collapse
No announcement yet.
MongoTemplate Query class Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MongoTemplate Query class

    There seems to be a bug with using org.springframework.data.document.mongodb.query.Qu ery. Particularly, the limit() and skip() methods don't seem to take effect when trying to use it to paginate. The entire result set is still returned.

    If I do use org.springframework.data.document.mongodb.query.Ba sicQuery instead and call setLimit() and setSkip(), that works.

    Is this by design or is it a bug?
Working...
X