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


##########
grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WhereQueryOldIssueVerificationSpec.groovy:
##########
@@ -360,7 +359,7 @@ class WqBiBook implements HibernateEntity<WqBiBook> {
     String title
 
     static hasMany = [authors: WqBiAuthor]
-    static belongsTo = WqBiAuthor
+    static belongsTo = [WqBiAuthor]

Review Comment:
   You're right - this was an unnecessary change to an H5 file. The `belongsTo 
= WqBiAuthor` bare-class form is correct and works fine here; I've reverted 
line 364 back to it. That restores the file to match `8.0.x` and, importantly, 
makes the H5 and H7 copies of this spec byte-for-byte identical again (the edit 
had only touched H5, which is what broke the symmetry). Verified by running the 
spec: 9/9 passing.



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