jdaugherty commented on code in PR #16778:
URL: https://github.com/apache/grails-core/pull/16778#discussion_r4390684538


##########
grails-data-hibernate7/docs/src/docs/asciidoc/persistenceBasics/modificationChecking.adoc:
##########
@@ -61,3 +61,19 @@ book.title = 'New Title'
 book.genre = 'Fiction'
 println book.dirtyPropertyNames    // ['title', 'genre']
 ----
+
+=== Dirty Checking and Abstract Base Classes
+
+A domain class can extend an abstract base class defined in `src/main/groovy`. 
GORM only tracks changes to the properties of such a base class if the base 
class is annotated with `@DirtyCheck`:

Review Comment:
   I would flip this description since more than 1 source set can exist (i.e. 
java, or custom ones):
   
              A domain class can extend an abstract base class defined in a 
source location other than `grails-app/domains`.  GORM only tracks changes to 
properties of such a base class if the base class is annotated with 
`@DirtyCheck`:



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