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 7354d3bfdb Workaround creating assigned ids when not created.
new b6eec1bf94 Now creating ids natively if not assigned as default
new 76afa5510c some fixes and roadmap
new 18ca442d47 a better roadmap
new 041c863077 more fixes
new 1ba351da60 more fixes
new bc5cea779d more fixes
new c42bc0d833 more fixes
new d1076c7666 more fixes
new 87309e4dea more fixes
new 2a650f1bcf Map 'save-update' cascade to 'persist,merge' for Hibernate
7 compatibility
new 9a29cbb7b6 Refactor GrailsDomainBinder to use CascadeBehavior enum and
reduce string duplication
new a5f1c7035c Refactor GrailsDomainBinder.isSaveUpdateCascade to use
CascadeBehavior enum and add tests
new ec859875d3 CascadeBehavior refactor
The 13 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:
grails-data-hibernate7/core/HIBERNATE7-TESTS.csv | 25 ++++++
grails-data-hibernate7/core/build.gradle | 3 +
.../orm/hibernate/HibernateGormInstanceApi.groovy | 19 ++---
.../orm/hibernate/cfg/GrailsDomainBinder.java | 99 +++++++++++-----------
.../cfg/domainbinding/CascadeBehavior.java | 42 ++++++++-
.../cfg/domainbinding/CascadeBehaviorFetcher.java | 8 +-
.../cfg/domainbinding/GrailsNativeGenerator.java | 34 ++++++++
.../cfg/domainbinding/ManyToOneBinder.java | 5 +-
.../cfg/domainbinding/NaturalIdentifierBinder.java | 9 +-
.../cfg/domainbinding/SimpleValueBinder.java | 29 +++++++
.../mapping/HibernateMappingBuilderTests.groovy | 10 +--
.../specs/ExecuteQueryWithinValidatorSpec.groovy | 2 +-
.../gorm/specs/HibernateGormDatastoreSpec.groovy | 1 +
...idirectionalManyToOneWithListMappingSpec.groovy | 20 ++++-
.../hibernate/HibernateGormStaticApiSpec.groovy | 11 ++-
.../hibernate/cfg/GrailsDomainBinderSpec.groovy | 24 ------
.../domainbinding/CascadeBehaviorEnumSpec.groovy | 76 +++++++++++++++++
.../CascadeBehaviorFetcherSpec.groovy | 22 +++--
.../CascadeBehaviorPersisterSpec.groovy | 21 ++---
.../cfg/domainbinding/ColumnBinderSpec.groovy | 32 +++----
.../ColumnConfigToColumnBinderSpec.groovy | 44 +++++-----
.../cfg/domainbinding/IndexBinderSpec.groovy | 2 +-
.../cfg/domainbinding/ManyToOneBinderSpec.groovy | 46 ++++------
.../domainbinding/ManyToOneValuesBinderSpec.groovy | 14 +--
.../NamespaceNameExtractorSpec.groovy | 20 ++---
.../NaturalIdentifierBinderSpec.groovy | 52 ++++++------
.../NumericColumnConstraintsBinderSpec.groovy | 27 +++---
.../cfg/domainbinding/SimpleValueBinderSpec.groovy | 48 ++++++++---
.../StringColumnConstraintsBinderSpec.groovy | 21 +++--
.../domainbinding/UniqueNameGeneratorSpec.groovy | 18 ++--
grails-data-test-report/build.gradle | 1 +
31 files changed, 500 insertions(+), 285 deletions(-)
create mode 100644 grails-data-hibernate7/core/HIBERNATE7-TESTS.csv
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/GrailsNativeGenerator.java
delete mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/GrailsDomainBinderSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/CascadeBehaviorEnumSpec.groovy