This is an automated email from the ASF dual-hosted git repository.

borinquenkid pushed a commit to branch 8.0.x-hibernate7
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit ae34ee71b9f2c3516122649bf0e81a89c2e1833e
Author: Walter Duque de Estrada <[email protected]>
AuthorDate: Fri Feb 27 08:48:30 2026 -0600

    Fix PMD issues in PagedResultList
---
 grails-data-hibernate7/PMD.md                                           | 2 +-
 .../src/main/groovy/org/grails/orm/hibernate/query/PagedResultList.java | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/grails-data-hibernate7/PMD.md b/grails-data-hibernate7/PMD.md
index 196d2ae100..af8ef428d9 100644
--- a/grails-data-hibernate7/PMD.md
+++ b/grails-data-hibernate7/PMD.md
@@ -96,7 +96,7 @@ 
AvoidLiteralsInIfCondition,org.grails.orm.hibernate.query.JpaFromProvider,150,YE
 
ProperCloneImplementation,org.grails.orm.hibernate.query.JpaFromProvider,162,YES
 
CloneMethodReturnTypeMustMatchClassName,org.grails.orm.hibernate.query.JpaFromProvider,162,YES
 
CloneThrowsCloneNotSupportedException,org.grails.orm.hibernate.query.JpaFromProvider,162,YES
-MissingSerialVersionUID,org.grails.orm.hibernate.query.PagedResultList,31,
+MissingSerialVersionUID,org.grails.orm.hibernate.query.PagedResultList,31,YES
 
AvoidAccessibilityAlteration,org.grails.orm.hibernate.support.ClosureEventListener,143,
 
AvoidAccessibilityAlteration,org.grails.orm.hibernate.support.ClosureEventListener,145,
 EmptyCatchBlock,org.grails.orm.hibernate.support.ClosureEventListener,146,
diff --git 
a/grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/PagedResultList.java
 
b/grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/PagedResultList.java
index f77bd35727..4eb9e87528 100644
--- 
a/grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/PagedResultList.java
+++ 
b/grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/PagedResultList.java
@@ -30,6 +30,8 @@ import org.hibernate.query.Query;
 
 public class PagedResultList extends grails.gorm.PagedResultList {
 
+  private static final long serialVersionUID = 1L;
+
   private final CriteriaQuery criteriaQuery;
   private final Root queryRoot;
   private final CriteriaBuilder criteriaBuilder;

Reply via email to