matrei commented on code in PR #15768:
URL: https://github.com/apache/grails-core/pull/15768#discussion_r3483109706


##########
grails-data-hibernate7/docs/src/docs/asciidoc/introduction/upgradeNotes.adoc:
##########
@@ -54,17 +54,14 @@ Book.executeQuery("from Book where title like ?1", 
[params.title + '%'])
 
 As in any ORM, manually concatenating untrusted input into a plain `String` 
(for example `"... where title = '" + userInput + "'"`) remains an injection 
risk and should be avoided in favour of the GString or parameterized forms 
above.
 
-===== `findWithSql` / `findAllWithSql` renamed
+===== SQL query helpers
 
-`findWithSql` and `findAllWithSql` are deprecated. Use `findWithNativeSql` and 
`findAllWithNativeSql` instead. The old names remain as delegating aliases for 
backwards compatibility.
+Hibernate 7 keeps the Hibernate 5 method names for raw SQL query helpers:

Review Comment:
   Why do we need to mention 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]

Reply via email to