jdaugherty commented on code in PR #15568: URL: https://github.com/apache/grails-core/pull/15568#discussion_r3255015205
########## grails-test-examples/hibernate7/grails-hibernate-groovy-proxy/grails-app/conf/application.yml: ########## @@ -30,3 +30,6 @@ dataSource: dbCreate: create-drop url: jdbc:h2:mem:books;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE +hibernate: + proxy_factory_class: org.grails.orm.hibernate.proxy.ByteBuddyGroovyProxyFactory Review Comment: The `ByteBuddyGroovyProxyFactory` is already wired as the hibernate 7 default via `GrailsProxyFactoryFactory`, and `HibernateSpec` also sets it automatically for tests. The explicit `proxy_factory_class` here is intentional — this test app exists specifically to exercise that factory in a full integration context. It does not need to be added to generated app templates since the framework auto-configures it. -- 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]
