jdaugherty commented on PR #15568:
URL: https://github.com/apache/grails-core/pull/15568#issuecomment-4426536757
So concerning the empty map syntax, it now throws this error:
**java.lang.UnsupportedOperationException:
executeUpdate(CharSequence) only accepts a Groovy GString with interpolated
parameters (e.g. executeUpdate("from Foo where bar = ${value}")). Use the
parameterized overload executeUpdate(CharSequence, Map) or
executeUpdate(CharSequence, Collection, Map) to pass a plain String query
safely.**
This is probably ok, but we need to make a note in the upgrade guide about
this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]