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 54ea20836a fix(grails-data-hibernate7): make type: 'text' produce an
unbounded column (#16020)
add 592a3fb56c test: reproduce issue 16133
add 274ea82b5d fix: issue 16133
add 5a10ebfac3 test: adapt other tests to fixing issue 16133
add 6948b393a3 chore: whitespace
add f07ddd11b7 test: reset fixtures and UserIntegrationSpec assertions
add 2263394899 fix: initialize `defaultNullable` to `true` in
`AbstractGormMappingFactory`
add 07a30bb3eb fix: preserve bidirectional binding with nullable
associations
add 9cf91149ac test: cover nullable-by-default mapping cases
add baa3a4c0a3 fix: nullable-by-default mapping cases
add cb0db006e0 test: update EnumTypeBinderSpec to handle changed nullable
default
add d76700ae30 docs: update documentation to clarify changes in default
nullability for persistence mapping
add 47cb138493 test: more default nullable test coverage
add cbb9a0de0c Merge branch '8.0.x' into fix/issue-16133
add f8e4485cbe chore: add back import after bad merge
add 3650fdf15a refactor: rename isIdentityOrVersion to notIdentityOrVersion
new eaa0af6867 Merge pull request #16136 from apache/fix/issue-16133
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:
.../org/grails/gorm/graphql/SchemaSpec.groovy | 6 +-
.../HibernatePersistentGraphQLPropertySpec.groovy | 18 +++-
.../EmbeddedInputObjectTypeBuilderSpec.groovy | 2 +-
.../hibernate/cfg/HibernateMappingBuilder.groovy | 6 +-
.../orm/hibernate/cfg/HibernateMappingContext.java | 1 +
.../cfg/HibernateMappingContextSpec.groovy | 84 +++++++++++++++-
...ationContextDatabaseMigrationCommandSpec.groovy | 9 ++
.../orm/hibernate/cfg/HibernateMappingContext.java | 1 +
.../cfg/GrailsHibernatePersistentEntitySpec.groovy | 3 +
.../cfg/HibernateMappingContextSpec.groovy | 106 ++++++++++++++++++++-
.../cfg/domainbinding/EnumTypeBinderSpec.groovy | 47 ++++-----
...ationContextDatabaseMigrationCommandSpec.groovy | 4 +
.../mongo/config/MongoMappingContextSpec.groovy | 89 +++++++++++++++++
.../gorm/neo4j/Neo4jMappingContextSpec.groovy | 71 ++++++++++++++
.../mapping/config/AbstractGormMappingFactory.java | 40 ++++++--
.../datastore/mapping/config/Property.groovy | 11 ++-
.../mapping/model/AbstractMappingContext.java | 1 +
.../config/DocumentMappingContextSpec.groovy | 89 +++++++++++++++++
.../mapping/KeyValueMappingFactoryTests.groovy | 53 ++++++++++-
.../src/en/guide/upgrading/upgrading80x.adoc | 10 +-
.../domain/grails/test/app/Address.groovy | 3 +
.../grails-app/domain/grails/test/app/User.groovy | 3 +-
.../domain/grails/test/app/UserRole.groovy | 2 +
.../groovy/grails/test/app/pogo/Profile.groovy | 6 ++
.../tests/{Person.groovy => Organization.groovy} | 6 +-
.../tests/OrganizationValidationSpec.groovy} | 27 +++---
.../web/databinding/GrailsWebDataBinderSpec.groovy | 85 ++++++++++++-----
.../web/databinding/GrailsWebDataBinder.groovy | 2 +-
28 files changed, 689 insertions(+), 96 deletions(-)
create mode 100644
grails-data-mongodb/core/src/test/groovy/org/grails/datastore/mapping/mongo/config/MongoMappingContextSpec.groovy
create mode 100644
grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/org/grails/datastore/gorm/neo4j/Neo4jMappingContextSpec.groovy
create mode 100644
grails-datastore-core/src/test/groovy/org/grails/datastore/mapping/document/config/DocumentMappingContextSpec.groovy
copy
grails-test-examples/hibernate5/grails-hibernate/grails-app/domain/functional/tests/{Person.groovy
=> Organization.groovy} (95%)
copy
grails-test-examples/hibernate5/{grails-data-service/src/integration-test/groovy/example/StudentServiceSpec.groovy
=>
grails-hibernate/src/integration-test/groovy/functional/tests/OrganizationValidationSpec.groovy}
(67%)