Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 6502727a233b5ec5efadc276aa105f2a7381dad7
https://github.com/hibernate/hibernate-orm/commit/6502727a233b5ec5efadc27...
Author: Terry Tao <yueyang.tao(a)gmail.com>
Date: 2026-01-08 (Thu, 08 Jan 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FilterImpl.java
A
hibernate-core/src/test/java/org/hibernate/internal/FilterImplSerializationTest.java
Log Message:
-----------
HHH-20030 - FilterImpl: cache validation using a validated flag
- Track successful FilterImpl#validate() using a transient validated flag so repeated
validate() calls are a no-op once validated and unchanged.
- Invalidate cached validation on setParameter(..) / setParameterList(..) and after
deserialization restore.
- Rely on SessionFactoryImplementor#getFilterDefinition(..) for unknown-filter failures
(remove redundant null checks/exceptions).
- Update the serialization regression test (in org.hibernate.internal) to verify the
validated lifecycle across deserialization, afterDeserialize(factory), and parameter
mutations.
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications