Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1683

SpelExtractor does not consider quotation offsets from rewritten query

    XMLWordPrintable

    Details

      Description

      "Named parameter not bound : _$synthetic$_" occurred when execute query with SPEL.

      I have found that the no. of parameters does not match with "parameterBindingMap" in a parsed Qeury.

       

       

      And I found that the problem is related to the following coding. I have no idea why it will hit the condition of "spelExtractor.isQuoted". But the problem may gone when I just adding some empty spaces to my SQL statement.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mp911de Mark Paluch
              Reporter:
              felixng1028 felixng1028
              Last updater:
              Mark Paluch
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: