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


##########
grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/events/AutoTimestampEventListener.java:
##########
@@ -148,10 +150,25 @@ private void initializeIfNecessary(PersistentEntity 
entity, String name) {
     public boolean beforeUpdate(PersistentEntity entity, EntityAccess ea) {
         Set<String> props = getLastUpdatedPropertyNames(entity.getName());
         if (props != null) {
+            Object entityObject = ea.getEntity();
+            boolean isDirtyCheckable = entityObject instanceof DirtyCheckable;

Review Comment:
   instanceof is incompatible with Hibernate Proxies



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