jamesfredley commented on code in PR #15418:
URL: https://github.com/apache/grails-core/pull/15418#discussion_r2835075549
##########
grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/services/implementers/AbstractWhereImplementer.groovy:
##########
@@ -96,16 +96,16 @@ abstract class AbstractWhereImplementer extends
AbstractReadOperationImplementer
body.addStatement(
declS(queryVar,
ctorX(getDetachedCriteriaType(domainClassNode),
args(classX(domainClassNode.plainNodeReference))))
)
- Expression connectionId = findConnectionId(newMethodNode)
+ body.addStatement(
+ assignS(queryVar, callX(queryVar, 'build',
closureExpression))
Review Comment:
This is going to be complex, since TCK does not currently support multiple
data sources, but I will present a potential solution, since I think it should.
--
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]