Announcement Announcement Module
Collapse
No announcement yet.
Sort case insensitive Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sort case insensitive

    Hi guys,

    I'm using the pageable interface in my repository methods and I'm supplying a sort. My sort needs to be case insensitive though and it doesn't seem like Sort supports this. My desired result would be:

    Amber
    foobar
    Google
    zoo

    instead of:
    Amber
    Google
    foobar
    zoo

    Any ideas on how I could change this would be appreciated.

  • #2
    I've come up with a fix that I'd like to create a pull request for. I tested this fix on an older git clone of spring data I had locally. After forking and cloning the latest I can't seem to build. I keep getting the following:

    [ERROR] Plugin com.springsource.bundlor:com.springsource.bundlor. maven:1.0.0.RELEASE or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.springsource.bundlor:com.springsource.bundlor. maven:jar:1.0.0.RELEASE: Could not find artifact com.springsource.bundlor:com.springsource.bundlor. mavenom:1.0.0.RELEASE in central (http://repo1.maven.org/maven2) -> [Help 1]

    Any ideas on how to resolve this?

    Comment


    • #3
      I was able to get my changes to build.

      I created the following JIRA issue:
      https://jira.springsource.org/browse...#comment-87771

      In the comments I have a proposed fix.

      Comment

      Working...
      X