This is an automated email from the ASF dual-hosted git repository. borinquenkid pushed a commit to branch merge-hibernate6 in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit bb8351a274223028b051aecd3fed5536c4f4c914 Author: Walter Duque de Estrada <[email protected]> AuthorDate: Sat Oct 11 12:07:50 2025 -0500 This will not be implemented for the moment --- .gitignore | 4 ++++ .../grails/gorm/specs/SubqueryAliasSpec.groovy | 6 +++-- report02.txt | 28 ---------------------- 3 files changed, 8 insertions(+), 30 deletions(-) diff --git a/.gitignore b/.gitignore index 4ced48d7f4..d9ccaf508a 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,7 @@ tmp/ !etc/bin etc/bin/results .vscode/ +report01.txt +report02.txt +settings5.gradle +settings6.gradle diff --git a/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/SubqueryAliasSpec.groovy b/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/SubqueryAliasSpec.groovy index cac6455fcc..4f68c24304 100644 --- a/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/SubqueryAliasSpec.groovy +++ b/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/SubqueryAliasSpec.groovy @@ -18,6 +18,8 @@ */ package grails.gorm.specs +import spock.lang.Ignore + import grails.gorm.specs.entities.Club import grails.gorm.specs.entities.Team import org.grails.datastore.gorm.query.transform.ApplyDetachedCriteriaTransform @@ -26,7 +28,7 @@ import org.grails.datastore.gorm.query.transform.ApplyDetachedCriteriaTransform * Created by graemerocher on 01/03/2017. */ @ApplyDetachedCriteriaTransform -//TODO: How to create an alias inside a closure +@Ignore("This syntax is not supported") class SubqueryAliasSpec extends HibernateGormDatastoreSpec { def setupSpec() { @@ -44,7 +46,7 @@ class SubqueryAliasSpec extends HibernateGormDatastoreSpec { name == "First Team" exists( Club.where { - id == t.club + t.club == id }.property('name') ) }.find() diff --git a/report02.txt b/report02.txt deleted file mode 100644 index 98768c2b15..0000000000 --- a/report02.txt +++ /dev/null @@ -1,28 +0,0 @@ -ByteBuddyProxySpec. Test that accessing id on a proxy does not initialize it -CompositeIdWithManyToOneAndSequenceSpec. Test composite id many to one and sequence -DataServiceSpec. test findBy dynamic finder with @Join doesn't return proxies -DataServiceSpec. test list products -DetachCriteriaSubquerySpec. test detached associated criteria in subquery -DetachCriteriaSubquerySpec. test that detached criteria subquery should create implicit alias instead of using this_ -DetachedCriteriaProjectionAliasSpec. test aliased projection in detached criteria subquery -DirtyCheckingSpec. test relationships not marked dirty when domain objects are used -EnumMappingSpec. Test enum mapping -ExecuteQueryWithinValidatorSpec. test executeQuery method executed during validation -GroovyProxySpec. Test creation and behavior of Groovy proxies -HibernateDirtyCheckingSpec. test dirty checking on embedded -HibernateEntityTransformationSpec. test hibernate entity transformation -HibernateGormStaticApiSpec. Test executeUpdate -HibernateGormStaticApiSpec. Test executeUpdate with named params -HibernateGormStaticApiSpec. Test executeUpdate with positional params -HibernateGormStaticApiSpec. test simple sql query -HibernateGormStaticApiSpec. Test withNewSession -IdentityEnumTypeSpec. test identity enum type -IdentityEnumTypeSpec. test identity enum type 2 -JoinPerfSpec. test read performance with join query -MultipleDataSourceMetadataSpec. test metadata retrieval for multiple dataSources -MultiTenancyBidirectionalManyToManySpec. test hasMany and 'in' query with multi-tenancy -MultiTenancyUnidirectionalOneToManySpec. test multi-tenancy with unidirectional one-to-many -SubqueryAliasSpec. Test subquery with root alias -TwoUnidirectionalHasManySpec. test two undirectional one to many references -UpdateWithProxyPresentSpec. Test update unidirectional oneToMany with proxy -WhereQueryWithAssociationSortSpec. Test sort with where query that queries association
