You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/07/08 21:24:26 UTC
(grails-core) branch 8.0.x updated (acc277dcc0 -> 66475c356a)
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from acc277dcc0 Merge branch '7.2.x' into 8.0.x
add 4bc7f5c267 Various fixes for not unwrapping Hibernate proxies
add 1642084d68 Fix code style violation
add f9b47e9a05 Merge branch '8.0.x' into hibernateProxyFix
add 2fe90aad52 Address review feedback: remove author tag, add GroovyProxyInterceptorLogicSpec
add 8a16363ba7 Completely remove org.yakworks:hibernate-groovy-proxy
add 96c0aedc35 Ensure toString() unwraps proxy like it did historically and allow opt in to not
add 1ae1c83405 Merge branch '8.0.x' into hibernateProxyFix
add 375dde8aef Merge branch '8.0.x' into hibernateProxyFix
new 66475c356a Merge pull request #15841 from apache/hibernateProxyFix
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
dependencies.gradle | 2 -
gradle.properties | 1 -
grails-data-hibernate5/core/build.gradle | 5 -
.../cfg/HibernateMappingContextConfiguration.java | 9 ++
.../proxy/ByteBuddyGroovyInterceptor.java | 28 +++---
.../proxy/ByteBuddyGroovyProxyFactory.java | 37 ++++---
.../hibernate/proxy/GrailsBytecodeProvider.java | 28 ++----
.../hibernate/proxy/GrailsProxyFactoryFactory.java | 28 ++++--
.../proxy/GroovyProxyInterceptorLogic.java | 20 +++-
.../orm/hibernate/proxy/HibernateProxyHandler.java | 6 ++
.../META-INF/spring-configuration-metadata.json | 10 ++
.../gorm/tests/proxy/ByteBuddyProxySpec.groovy | 69 +++++++++++--
.../proxy/LazyToStringByteBuddyProxySpec.groovy | 67 +++++++++++++
.../proxy/GroovyProxyInterceptorLogicSpec.groovy | 37 ++++++-
.../HibernateProxyHandlerMetaClassProbeSpec.groovy | 109 ++++++++++++++++++++
.../configuration/configurationReference.adoc | 19 ++++
grails-data-hibernate7/core/build.gradle | 6 --
.../proxy/ByteBuddyGroovyInterceptor.java | 8 +-
.../proxy/ByteBuddyGroovyProxyFactory.java | 9 +-
.../hibernate/proxy/GrailsProxyFactoryFactory.java | 8 +-
.../proxy/GroovyProxyInterceptorLogic.java | 17 +++-
.../orm/hibernate/proxy/HibernateProxyHandler.java | 19 ++--
.../META-INF/spring-configuration-metadata.json | 10 ++
.../gorm/tests/proxy/ByteBuddyProxySpec.groovy | 65 ++++++++++--
.../proxy/LazyToStringByteBuddyProxySpec.groovy | 65 ++++++++++++
.../proxy/ByteBuddyGroovyInterceptorSpec.groovy | 11 +-
.../proxy/GroovyProxyInterceptorLogicSpec.groovy | 22 +++-
.../HibernateProxyHandlerMetaClassProbeSpec.groovy | 111 +++++++++++++++++++++
.../configuration/configurationReference.adoc | 19 ++++
.../grails-hibernate-groovy-proxy/build.gradle | 3 -
.../src/test/groovy/example/ProxySpec.groovy | 5 +-
.../grails-hibernate-groovy-proxy/build.gradle | 4 -
.../src/test/groovy/example/ProxySpec.groovy | 5 +-
33 files changed, 734 insertions(+), 128 deletions(-)
copy {grails-data-hibernate7 => grails-data-hibernate5}/core/src/main/groovy/org/grails/orm/hibernate/proxy/ByteBuddyGroovyInterceptor.java (77%)
copy {grails-data-hibernate7 => grails-data-hibernate5}/core/src/main/groovy/org/grails/orm/hibernate/proxy/ByteBuddyGroovyProxyFactory.java (77%)
copy grails-bootstrap/src/main/groovy/grails/build/proxy/SystemPropertiesAuthenticator.groovy => grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/proxy/GrailsBytecodeProvider.java (53%)
copy {grails-data-hibernate7 => grails-data-hibernate5}/core/src/main/groovy/org/grails/orm/hibernate/proxy/GrailsProxyFactoryFactory.java (60%)
copy {grails-data-hibernate7 => grails-data-hibernate5}/core/src/main/groovy/org/grails/orm/hibernate/proxy/GroovyProxyInterceptorLogic.java (85%)
create mode 100644 grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/proxy/LazyToStringByteBuddyProxySpec.groovy
copy {grails-data-hibernate7 => grails-data-hibernate5}/core/src/test/groovy/org/grails/orm/hibernate/proxy/GroovyProxyInterceptorLogicSpec.groovy (73%)
create mode 100644 grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/proxy/HibernateProxyHandlerMetaClassProbeSpec.groovy
create mode 100644 grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/proxy/LazyToStringByteBuddyProxySpec.groovy
create mode 100644 grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/proxy/HibernateProxyHandlerMetaClassProbeSpec.groovy
(grails-core) 01/01: Merge pull request #15841 from apache/hibernateProxyFix
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 66475c356a3af3dca9c30ad992a210844b854f42
Merge: acc277dcc0 375dde8aef
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Wed Jul 8 17:24:18 2026 -0400
Merge pull request #15841 from apache/hibernateProxyFix
Various identifier fixes for not unwrapping Hibernate proxies
dependencies.gradle | 2 -
gradle.properties | 1 -
grails-data-hibernate5/core/build.gradle | 5 -
.../cfg/HibernateMappingContextConfiguration.java | 9 ++
.../proxy/ByteBuddyGroovyInterceptor.java | 28 +++---
.../proxy/ByteBuddyGroovyProxyFactory.java | 37 ++++---
.../hibernate/proxy/GrailsBytecodeProvider.java | 38 +++++++
.../hibernate/proxy/GrailsProxyFactoryFactory.java | 28 ++++--
.../proxy/GroovyProxyInterceptorLogic.java | 20 +++-
.../orm/hibernate/proxy/HibernateProxyHandler.java | 6 ++
.../META-INF/spring-configuration-metadata.json | 10 ++
.../gorm/tests/proxy/ByteBuddyProxySpec.groovy | 69 +++++++++++--
.../proxy/LazyToStringByteBuddyProxySpec.groovy | 67 +++++++++++++
.../proxy/GroovyProxyInterceptorLogicSpec.groovy | 37 ++++++-
.../HibernateProxyHandlerMetaClassProbeSpec.groovy | 109 ++++++++++++++++++++
.../configuration/configurationReference.adoc | 19 ++++
grails-data-hibernate7/core/build.gradle | 6 --
.../proxy/ByteBuddyGroovyInterceptor.java | 8 +-
.../proxy/ByteBuddyGroovyProxyFactory.java | 9 +-
.../hibernate/proxy/GrailsProxyFactoryFactory.java | 8 +-
.../proxy/GroovyProxyInterceptorLogic.java | 17 +++-
.../orm/hibernate/proxy/HibernateProxyHandler.java | 19 ++--
.../META-INF/spring-configuration-metadata.json | 10 ++
.../gorm/tests/proxy/ByteBuddyProxySpec.groovy | 65 ++++++++++--
.../proxy/LazyToStringByteBuddyProxySpec.groovy | 65 ++++++++++++
.../proxy/ByteBuddyGroovyInterceptorSpec.groovy | 11 +-
.../proxy/GroovyProxyInterceptorLogicSpec.groovy | 22 +++-
.../HibernateProxyHandlerMetaClassProbeSpec.groovy | 111 +++++++++++++++++++++
.../configuration/configurationReference.adoc | 19 ++++
.../grails-hibernate-groovy-proxy/build.gradle | 3 -
.../src/test/groovy/example/ProxySpec.groovy | 5 +-
.../grails-hibernate-groovy-proxy/build.gradle | 4 -
.../src/test/groovy/example/ProxySpec.groovy | 5 +-
33 files changed, 761 insertions(+), 111 deletions(-)