This is an automated email from the ASF dual-hosted git repository.
borinquenkid pushed a change to branch 8.0.x-hibernate7
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from c4ada56862 Merge branch '8.0.x' into 8.0.x-hibernate7
new 8eae570169 fix: restore TaskOutcome import in
GrailsCodeStylePluginSpec; remove unused reactor.version
new ce3adedce3 fix: revert grails-core to compileOnly in H7 plugin; drop
dead jboss-transaction testRuntimeOnly
new 998ea6d467 docs: update hibernate-developer SKILL.md — clarify
migration scope, parallel-fork note, known status
new 22d0eb78af fix: restore flush in UniqueWithinGroupSpec; add issue
references to H5 tests
new efc250a173 Clean up H5 test cosmetics: unused imports, Groovy
accessors, label typos, annotation stacking
new 59a7b96fa5 Clean up H5 production source: @Deprecated(forRemoval),
license header, logging, field order, @since
new ec99b2cceb H7 production source cleanup: VERSION_8_0 constant,
setProxyHandler, Groovy port, DetachedCriteria
new b2b024ce85 Address H5 review comments: fix exception type, issue URLs,
test cleanup
new 11e52392c3 Revert unnecessary empty-map params in test-example
executeUpdate calls
new d038c55595 Revert unnecessary empty-map params in
GormCascadeOperationsSpec
new 1d53903345 Remove unnecessary [:] from executeUpdate calls in
AddToManagedEntitySpec; fix var type inference
new e577e2227a Stack @AutoCleanup and @Shared annotations on separate
lines in TransactionalWithinReadOnlySpec
new e13f6bd053 Fix license header format in GormEnhancerCleanupSpec to use
ASF style
new 68f672b48f Restore explicit bidirectional setup in
WhereQueryOldIssueVerificationSpec
new cfc24bdeb2 Remove unused HibernateGormDatastoreSpec import from
HibernateProxyHandler5Spec
new d18e6b5a6f Replace deprecated new Integer() constructors with
Integer.valueOf() in SoftKeySpec
new 5bb9923211 Move setKeys/keys(List) methods below existing key/column
methods in JoinTable
new 9b56ea16fa Add @since 8.0 Javadoc tag to Query.countResults()
new 69c1dc4860 Clean up HibernateMappingBuilderSpec: complete Javadoc,
remove section separators
new c4119dacd3 Use def for local variable types and remove trailing blank
line in H7 SpringInitializerSpec
new 0f4503b1dd Improve Javadoc for BackticksRemover; align
cascade=CascadeType.PERSIST in upgrade docs
new 8568d67494 Remove node_modules from RAT exclusions; add to .gitignore
instead
new 1cc3fdf784 Remove leftover TODO and inline comment from H7 core
build.gradle
The 23 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:
.agents/skills/hibernate-developer/SKILL.md | 11 +--
.gitignore | 1 +
.../buildsrc/GrailsCodeStylePluginSpec.groovy | 13 +--
dependencies.gradle | 1 -
gradle/rat-root-config.gradle | 1 -
.../orm/hibernate/cfg/GrailsDomainBinder.java | 4 +-
.../orm/hibernate/cfg/GrailsHibernateUtil.java | 6 +-
.../org/grails/orm/hibernate/cfg/JoinTable.groovy | 28 +++---
.../grails/orm/hibernate/cfg/PropertyConfig.groovy | 3 +
.../orm/hibernate/proxy/HibernateProxyHandler.java | 103 +++++----------------
.../hibernate/query/AbstractHibernateQuery.java | 3 +
.../gorm/tests/AddToManagedEntitySpec.groovy | 4 +-
.../gorm/tests/CompositeIdWithJoinTableSpec.groovy | 1 -
.../CompositeIdWithManyToOneAndSequenceSpec.groovy | 2 +-
.../tests/Hibernate5OptimisticLockingSpec.groovy | 50 +++++-----
.../gorm/tests/HibernateGormDatastoreSpec.groovy | 10 +-
.../gorm/tests/HibernateValidationSpec.groovy | 3 -
.../SubclassMultipleListCollectionSpec.groovy | 3 +-
.../tests/TwoBidirectionalOneToManySpec.groovy | 4 +-
.../tests/UniqueConstraintHibernateSpec.groovy | 11 +--
.../WhereQueryOldIssueVerificationSpec.groovy | 8 +-
.../HibernateUpdateFromListenerSpec.groovy | 4 +-
.../tests/dirtychecking/PropertyFieldSpec.groovy | 2 +-
.../gorm/tests/txs/CustomIsolationLevelSpec.groovy | 2 +-
.../txs/TransactionalWithinReadOnlySpec.groovy | 4 +-
.../tests/validation/CascadeValidationSpec.groovy | 2 +-
.../validation/SaveWithInvalidEntitySpec.groovy | 10 +-
.../validation/UniqueFalseConstraintSpec.groovy | 2 +-
.../tests/validation/UniqueWithinGroupSpec.groovy | 4 +-
.../core/GrailsDataHibernate5TckManager.groovy | 4 +-
.../datastore/gorm/GormEnhancerCleanupSpec.groovy | 28 +++---
.../mapping/model/PersistentPropertySpec.groovy | 2 +-
.../HibernateDatastoreMultiTenancySpec.groovy | 14 +--
.../orm/hibernate/HibernateGormEnhancerSpec.groovy | 1 -
.../proxy/HibernateProxyHandler5Spec.groovy | 1 -
...eDatastoreConnectionSourcesRegistrarSpec.groovy | 1 -
.../orm/hibernate/support/SoftKeySpec.groovy | 4 +-
grails-data-hibernate7/core/build.gradle | 5 +-
.../orm/hibernate/cfg/GrailsHibernateUtil.java | 59 +++++++-----
.../cfg/domainbinding/util/BackticksRemover.java | 8 +-
.../util/GeneratorCreationContextWrapper.groovy | 60 ++++++++++++
.../util/GeneratorCreationContextWrapper.java | 93 -------------------
.../mapping/HibernateMappingBuilderSpec.groovy | 46 +--------
.../hibernate/cfg/GrailsHibernateUtilSpec.groovy | 17 +---
grails-data-hibernate7/grails-plugin/build.gradle | 5 +-
.../HibernateDatastoreSpringInitializerSpec.groovy | 5 +-
.../groovy/grails/gorm/DetachedCriteria.groovy | 6 +-
.../org/grails/datastore/mapping/query/Query.java | 1 +
.../src/en/guide/upgrading/upgrading80x.adoc | 2 +-
.../groovy/gorm/GormCascadeOperationsSpec.groovy | 8 +-
.../groovy/gorm/GormCriteriaQueriesSpec.groovy | 12 +--
.../groovy/gorm/GormDataServicesSpec.groovy | 4 +-
.../groovy/gorm/GormEventsSpec.groovy | 2 +-
.../groovy/gorm/GormWhereQueryAdvancedSpec.groovy | 4 +-
.../groovy/gorm/TransactionPropagationSpec.groovy | 4 +-
...TransactionalWhereQueryVariableScopeSpec.groovy | 4 +-
.../DataServiceDatasourceInheritanceSpec.groovy | 2 +-
.../DataServiceMultiDataSourceSpec.groovy | 2 +-
.../services/example/MetricService.groovy | 2 +-
59 files changed, 278 insertions(+), 428 deletions(-)
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/util/GeneratorCreationContextWrapper.groovy
delete mode 100644
grails-data-hibernate7/core/src/main/java/org/grails/orm/hibernate/cfg/domainbinding/util/GeneratorCreationContextWrapper.java