You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by GitBox <gi...@apache.org> on 2026/10/05 16:53:45 UTC

[GH] (grails-core/fix/hibernate7-get-unwraps-proxies-8.0.x): Workflow run "CI" is working again!

The GitHub Actions job "CI" on grails-core.git/fix/hibernate7-get-unwraps-proxies-8.0.x has succeeded.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
d3111b925f9b0ec683dfe99692778a6ccf2f8956 / Walter Duque de Estrada <wb...@mac.com>
fix: unwrap proxies returned by get() and run DirtyCheckingSpec on Hibernate 7

HibernateGormStaticApi.get returned session.find(...) directly, so when a
proxy for that id was already in the session the caller received the proxy
instead of the real entity. Hibernate 5 unwraps in both branches; do the
same here (read() already does).

The TCK DirtyCheckingSpec was skipped on Hibernate 7 on the claim that
DirtyCheckingSpecHibernate7 replaces it, but that spec covers derived and
transient properties, not relationship dirtiness. Lift the skip: the
feature 'test relationships not marked dirty when domain objects are used'
failed before the fix and passes after.

Co-Authored-By: Claude Sonnet 5.5 <no...@anthropic.com>

Report URL: https://github.com/apache/grails-core/actions/runs/37327005269

With regards,
GitHub Actions via GitBox