borinquenkid commented on code in PR #15568:
URL: https://github.com/apache/grails-core/pull/15568#discussion_r3440092700


##########
grails-test-examples/hibernate7/grails-multitenant-multi-datasource/grails-app/services/example/MetricService.groovy:
##########
@@ -60,6 +60,6 @@ abstract class MetricService {
      * Delete all metrics for the current tenant from the secondary datasource.
      */
     void deleteAll() {
-        secondaryApi.executeUpdate('delete from Metric')
+        secondaryApi.executeUpdate('delete from Metric', [:])

Review Comment:
   Reverted — this file is unchanged from `8.0.x` in the current revision.



##########
grails-test-examples/hibernate7/grails-multitenant-multi-datasource/grails-app/services/example/MetricService.groovy:
##########
@@ -60,6 +60,6 @@ abstract class MetricService {
      * Delete all metrics for the current tenant from the secondary datasource.
      */
     void deleteAll() {
-        secondaryApi.executeUpdate('delete from Metric')
+        secondaryApi.executeUpdate('delete from Metric', [:])

Review Comment:
   Reverted — this file is unchanged from `8.0.x` in the current revision.



##########
grails-test-examples/hibernate7/grails-data-service-multi-datasource/src/integration-test/groovy/functionaltests/DataServiceMultiDataSourceSpec.groovy:
##########
@@ -56,7 +56,7 @@ class DataServiceMultiDataSourceSpec extends Specification {
 
     void cleanup() {
         Product.secondary.withTransaction {
-            Product.secondary.executeUpdate('delete from Product')
+            Product.secondary.executeUpdate('delete from Product', [:])

Review Comment:
   Reverted — this file is unchanged from `8.0.x` in the current revision.



##########
grails-test-examples/hibernate7/grails-data-service-multi-datasource/src/integration-test/groovy/functionaltests/DataServiceDatasourceInheritanceSpec.groovy:
##########
@@ -34,7 +34,7 @@ class DataServiceDatasourceInheritanceSpec extends 
Specification {
 
     void cleanup() {
         Product.secondary.withTransaction {
-            Product.secondary.executeUpdate('delete from Product')
+            Product.secondary.executeUpdate('delete from Product', [:])

Review Comment:
   Reverted — this file is unchanged from `8.0.x` in the current revision.



-- 
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