Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1067

likeIgnoreCase is not supported for CLOBs in MS SQL adapter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0RC1
    • Core Library
    • None

    Description

      I'd like to see likeIgnoreCase be supported for CLOBs in MS SQL w/paged queries.

      Is this hard to add?

      I'm interested to have a stab at it...

      at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:257)
      ... 29 more
      Caused by: org.apache.cayenne.CayenneException: [v.3.0-SNAPSHOT May 21 2008 12:37:01] Error getting ResultIterator: Query Exception:
      java.sql.SQLException: Argument data type text is invalid for argument 1 of upper function.
      at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:364)
      at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2754)
      at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2195)

      Attachments

        1. 0001-CAY-1067.patch
          5 kB
          Olga Tkacheva
        2. patch.txt
          5 kB
          Laurentiu Cocanu

        Activity

          People

            andrus Andrus Adamchik
            oharboe Øyvind Harboe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: