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 9896065a5e Fixed tests
     new f1725f3d3b Refactor bindProperty and implement fluent property 
filtering
     new c8e19e54fe Revert "Refactor bindProperty and implement fluent property 
filtering"
     new 70cb6ac59b Fixed tests
     new e04d135940 remove PersistentPropertyToPropertyConfig.java
     new 8002bdbdad  1. `GrailsHibernatePersistentProperty` Refactoring:        
* Added a no-arg getTypeName() default method that automatically uses the 
property owner's mapping.        * Added a getTypeName(PropertyConfig config, 
Mapping mapping) overload to allow resolving type names for specific 
configurations (like index columns or join tables) while still falling back to 
the          mapping defaults if needed.        * Updated the existing 
getTypeName(Mapping mapping) to delegate t [...]
     new e5dd61d083 progress
     new 7a4eb3923b progress
     new b293e3c509 GrailsPropertyBinder
     new 81aef5cee5 GrailsPropertyBinder
     new 9320869b16 GrailsPropertyBinder
     new e42e555be8 Fix GrailsDomainBinder in 5
     new 7bcd30fa93 GrailsHibernatePersistentProperty
     new ca981673b4 GrailsHibernatePersistentProperty
     new c3445ed8d6 GrailsHibernatePersistentProperty
     new b73f86852f GrailsHibernatePersistentProperty
     new 2808478a2e CollectionBinder
     new b98c7509c5 CollectionBinder
     new 010ec2fee5 removing ununsed argumentd
     new 8042c26f84 progress

The 19 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:
 .../orm/hibernate/cfg/GrailsDomainBinder.java      |  105 +-
 .../orm/hibernate/cfg/GrailsDomainBinder.java      |   15 +-
 .../cfg/domainbinding/GrailsPropertyCreator.java   |   21 +-
 .../domainbinding/GrailsPropertyCreatorSpec.groovy |   36 +
 .../HibernateDatastoreSpringInitializerSpec.groovy |   30 +-
 .../core/HIBERNATE7-UPGRADE-PROGRESS.md            |   99 +-
 grails-data-hibernate7/core/build.gradle           |    1 +
 .../orm/hibernate/cfg/GrailsDomainBinder.java      | 1160 +-------------------
 .../cfg/GrailsHibernatePersistentEntity.java       |   25 +-
 .../cfg/GrailsHibernatePersistentProperty.java     |  103 +-
 .../cfg/HibernateEmbeddedPersistentEntity.java     |    4 +-
 .../hibernate/cfg/HibernateManyToManyProperty.java |    2 +-
 .../hibernate/cfg/HibernateManyToOneProperty.java  |    2 +-
 .../hibernate/cfg/HibernateOneToManyProperty.java  |    2 +-
 .../hibernate/cfg/HibernateOneToOneProperty.java   |    2 +-
 .../hibernate/cfg/HibernatePersistentEntity.java   |   12 +-
 .../orm/hibernate/cfg/HibernateToManyProperty.java |   50 +
 .../cfg/domainbinding/CascadeBehaviorFetcher.java  |    3 +-
 .../cfg/domainbinding/CollectionBinder.java        |  890 +++++++++++++++
 .../hibernate/cfg/domainbinding/ColumnBinder.java  |   13 +-
 .../ColumnNameForPropertyAndPathFetcher.java       |    9 +-
 .../cfg/domainbinding/ComponentPropertyBinder.java |   44 +-
 .../CompositeIdentifierToManyToOneBinder.java      |   11 +-
 .../cfg/domainbinding/CreateKeyForProps.java       |    9 +-
 .../domainbinding/DefaultColumnNameFetcher.java    |    3 +-
 .../cfg/domainbinding/EnumTypeBinder.java          |   12 +-
 .../cfg/domainbinding/GrailsOneToOne.java          |  253 +++++
 .../cfg/domainbinding/GrailsPropertyBinder.java    |  160 +++
 .../hibernate/cfg/domainbinding/GrailsToOne.java   |   46 +
 .../cfg/domainbinding/ManyToOneBinder.java         |   21 +-
 .../cfg/domainbinding/ManyToOneValuesBinder.java   |   14 +-
 .../cfg/domainbinding/OneToOneBinder.java          |   19 +-
 .../PersistentPropertyToPropertyConfig.java        |   18 -
 .../cfg/domainbinding/PropertyBinder.java          |   16 +-
 .../ShouldCollectionBindWithJoinColumn.java        |   17 -
 .../cfg/domainbinding/SimpleValueBinder.java       |   21 +-
 .../cfg/domainbinding/TableForManyCalculator.java  |   18 +-
 .../cfg/domainbinding/UserTypeFetcher.java         |    9 +-
 .../collectionType/BagCollectionType.java          |   22 +-
 .../collectionType/CollectionType.java             |   53 +-
 .../collectionType/ListCollectionType.java         |   16 +-
 .../collectionType/MapCollectionType.java          |   15 +-
 .../collectionType/SetCollectionType.java          |   16 +-
 .../collectionType/SortedSetCollectionType.java    |   17 +-
 .../secondpass/GrailsCollectionSecondPass.java     |   86 ++
 .../domainbinding/secondpass/ListSecondPass.java   |   35 +
 .../domainbinding/secondpass/MapSecondPass.java    |   35 +
 .../gorm/specs/HibernateGormDatastoreSpec.groovy   |    9 +-
 .../GrailsHibernatePersistentPropertySpec.groovy   |  203 ++++
 .../cfg/domainbinding/CollectionBinderSpec.groovy  |   44 +
 .../cfg/domainbinding/ColumnBinderSpec.groovy      |   87 +-
 .../ColumnNameForPropertyAndPathFetcherSpec.groovy |   17 +-
 .../ComponentPropertyBinderSpec.groovy             |   58 +-
 ...CompositeIdentifierToManyToOneBinderSpec.groovy |   23 +-
 .../cfg/domainbinding/CreateKeyForPropsSpec.groovy |   30 +-
 .../domainbinding/GrailsPropertyBinderSpec.groovy  |  393 +++++++
 .../cfg/domainbinding/ManyToOneBinderSpec.groovy   |   51 +-
 .../domainbinding/ManyToOneValuesBinderSpec.groovy |   10 +-
 .../cfg/domainbinding/OneToOneBinderSpec.groovy    |   41 +-
 .../PersistentPropertyToPropertyConfigSpec.groovy  |   38 -
 .../cfg/domainbinding/PropertyBinderSpec.groovy    |   41 +-
 .../ShouldCollectionBindWithJoinColumnSpec.groovy  |   51 -
 .../cfg/domainbinding/SimpleValueBinderSpec.groovy |   40 +-
 .../TableForManyCalculatorSpec.groovy              |   51 +-
 .../cfg/domainbinding/UserTypeFetcherSpec.groovy   |   21 +-
 .../collectionType/BagCollectionTypeSpec.groovy    |    9 +-
 .../collectionType/CollectionTypeSpec.groovy       |   75 --
 .../collectionType/ListCollectionTypeSpec.groovy   |   12 +-
 .../collectionType/MapCollectionTypeSpec.groovy    |   16 +-
 .../collectionType/SetCollectionTypeSpec.groovy    |   12 +-
 .../SortedSetCollectionTypeSpec.groovy             |   12 +-
 grails-data-hibernate7/dbmigration/build.gradle    |    1 +
 .../command/DbmChangelogSyncCommand.groovy         |   37 +
 .../command/DbmChangelogSyncSqlCommand.groovy      |   41 +
 .../command/DbmClearChecksumsCommand.groovy        |   37 +
 .../command/DbmDropAllCommand.groovy               |   45 +
 .../DbmFutureRollbackCountSqlCommand.groovy        |   51 +
 .../command/DbmFutureRollbackSqlCommand.groovy     |   42 +
 .../command/DbmListLocksCommand.groovy             |   58 +
 .../command/DbmMarkNextChangesetRanCommand.groovy  |   37 +
 .../DbmMarkNextChangesetRanSqlCommand.groovy       |   41 +
 .../command/DbmPreviousChangesetSqlCommand.groovy  |   63 ++
 .../command/DbmReleaseLocksCommand.groovy          |   37 +
 .../command/DbmRollbackCommand.groovy              |   44 +
 .../command/DbmRollbackCountCommand.groovy         |   47 +
 .../command/DbmRollbackCountSqlCommand.groovy      |   51 +
 .../command/DbmRollbackSqlCommand.groovy           |   48 +
 .../command/DbmRollbackToDateCommand.groovy        |   55 +
 .../command/DbmRollbackToDateSqlCommand.groovy     |   67 ++
 .../command/DbmStatusCommand.groovy                |   42 +
 .../databasemigration/command/DbmTagCommand.groovy |   43 +
 .../command/DbmUpdateCommand.groovy                |   40 +
 .../command/DbmUpdateCountCommand.groovy           |   47 +
 .../command/DbmUpdateCountSqlCommand.groovy        |   50 +
 .../command/DbmUpdateSqlCommand.groovy             |   42 +
 .../command/DbmValidateCommand.groovy              |   37 +
 .../dbmigration/grails-app/conf/logback.groovy     |   56 +
 .../grails-app/domain/testapp/Account.groovy       |   26 +
 .../grails-app/domain/testapp/Person.groovy        |   31 +
 .../resources/changelog-account-sql.groovy         |   24 +
 .../resources/changelog-person-grails.groovy       |   41 +
 .../resources/changelog-transaction.groovy         |   24 +
 .../DatabaseMigrationException.groovy              |   24 +
 .../EnvironmentAwareCodeGenConfig.groovy           |   38 +
 .../plugins/databasemigration/NoopVisitor.groovy   |   43 +
 .../liquibase/ChangelogXml2Groovy.groovy           |  111 ++
 .../liquibase/EmbeddedJarPathHandler.groovy        |   97 ++
 .../GroovyGenerateChangeLogCommandStep.groovy      |  102 ++
 .../META-INF/services/liquibase.change.Change      |    1 +
 .../services/liquibase.command.CommandStep         |    2 +
 .../META-INF/services/liquibase.database.Database  |    1 +
 .../services/liquibase.parser.ChangeLogParser      |    1 +
 .../services/liquibase.precondition.Precondition   |    1 +
 .../services/liquibase.resource.PathHandler        |    1 +
 .../liquibase.serializer.ChangeLogSerializer       |    1 +
 .../main/scripts/dbm-changelog-to-groovy.groovy    |   36 +
 .../src/main/scripts/dbm-create-changelog.groovy   |   35 +
 .../command/DbmChangelogSyncCommandSpec.groovy     |   50 +
 .../DbmMarkNextChangesetRanCommandSpec.groovy      |   51 +
 .../liquibase/GroovyPreconditionSpec.groovy        |  284 +++++
 .../testing/annotation/OutputCapture.groovy        |   34 +
 .../dbmigration/src/test/resources/logback.groovy  |   38 +
 122 files changed, 5195 insertions(+), 1975 deletions(-)
 copy 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/PropertyFromValueCreator.java
 => 
grails-data-hibernate6/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/GrailsPropertyCreator.java
 (50%)
 create mode 100644 
grails-data-hibernate6/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/GrailsPropertyCreatorSpec.groovy
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/HibernateToManyProperty.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/CollectionBinder.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/GrailsOneToOne.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/GrailsPropertyBinder.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/GrailsToOne.java
 delete mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/PersistentPropertyToPropertyConfig.java
 delete mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/ShouldCollectionBindWithJoinColumn.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/secondpass/GrailsCollectionSecondPass.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/secondpass/ListSecondPass.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/secondpass/MapSecondPass.java
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/GrailsHibernatePersistentPropertySpec.groovy
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/CollectionBinderSpec.groovy
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/GrailsPropertyBinderSpec.groovy
 delete mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/PersistentPropertyToPropertyConfigSpec.groovy
 delete mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/ShouldCollectionBindWithJoinColumnSpec.groovy
 delete mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/collectionType/CollectionTypeSpec.groovy

Reply via email to