Results 1 to 3 of 3

Thread: Sort case insensitive

  1. #1
    Join Date
    Jan 2013
    Posts
    5

    Default 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. #2
    Join Date
    Jan 2013
    Posts
    5

    Default

    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?

  3. #3
    Join Date
    Jan 2013
    Posts
    5

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •