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 a5b37f1c7e Refactor binders to support custom ID generator creation in 
SimpleValueBinder
     new 837e88c9cc Refactor GrailsDomainBinder to improve utility instance 
reuse
     new a9d4b5fdbf Refactor defaultColumnNameFetcher in GrailsDomainBinder to 
be a local variable
     new c2e74db397 Refactor binders in GrailsDomainBinder to be local variables
     new ef4765f1ae Refactor CollectionHolder to take MetadataBuildingContext 
in constructor
     new fd8f3ba117 Refactor second pass classes to remove GrailsDomainBinder 
dependency
     new 31424104eb Refactor GrailsDomainBinder to use local variables for 
remaining binders and utilities
     new 20762d8e0d Refactor multi-tenant filter binding to dedicated class
     new c034b6c49c Refactor joined subclass binding to a dedicated binder class
     new 5052e3777f Refactor union subclass binding to a dedicated binder class
     new 1c4d710990 Refactor single table subclass binding to a dedicated 
binder class
     new 9e8c94925e Cleanup redundant polymorphic logic in GrailsDomainBinder
     new 875d23b941 Refactor bindRoot to use entity.isTablePerHierarchy() and 
cleanup polymorphic logic
     new 72c693743e Encapsulate table abstractness logic in 
GrailsHibernatePersistentEntity
     new 34866ea7fa Refactor natural identifier binding to support composite 
primary keys and fix mapping DSL configuration for natural identifiers.
     new 3e2f7d5e5f Refactor NaturalId to return Optional<UniqueKey> and 
delegate side effects to the binder.
     new cbbc30c78c Refactor class properties binding logic from 
GrailsDomainBinder to ClassPropertiesBinder and clean up binder signatures.

The 16 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/build.gradle           |   1 +
 .../orm/hibernate/cfg/CompositeIdentity.groovy     |  17 +
 .../orm/hibernate/cfg/GrailsDomainBinder.java      | 361 ++++-----------------
 .../cfg/GrailsHibernatePersistentEntity.java       |  14 +
 .../org/grails/orm/hibernate/cfg/Identity.groovy   |   3 +-
 .../org/grails/orm/hibernate/cfg/NaturalId.groovy  |  31 ++
 .../binder/ClassPropertiesBinder.java              |  56 ++++
 .../cfg/domainbinding/binder/CollectionBinder.java |  14 +-
 .../domainbinding/binder/JoinedSubClassBinder.java |  93 ++++++
 .../binder/NaturalIdentifierBinder.java            |  34 +-
 .../domainbinding/binder/SimpleValueBinder.java    |   1 -
 .../binder/SingleTableSubclassBinder.java          |  40 +++
 .../domainbinding/binder/UnionSubclassBinder.java  |  65 ++++
 .../collectionType/BagCollectionType.java          |   7 +-
 .../collectionType/CollectionHolder.java           |  14 +-
 .../collectionType/CollectionType.java             |   6 +-
 .../collectionType/ListCollectionType.java         |   7 +-
 .../collectionType/MapCollectionType.java          |   7 +-
 .../collectionType/SetCollectionType.java          |   7 +-
 .../collectionType/SortedSetCollectionType.java    |   7 +-
 .../domainbinding/hibernate/HibernateIdentity.java |  12 +
 .../hibernate/HibernateMappingBuilder.groovy       |  46 +--
 .../domainbinding/secondpass/ListSecondPass.java   |   8 +-
 .../domainbinding/secondpass/MapSecondPass.java    |   8 +-
 .../domainbinding/secondpass/SetSecondPass.java    |  12 +-
 .../util/MultiTenantFilterBinder.java              | 115 +++++++
 .../grails/orm/hibernate/cfg/NaturalIdSpec.groovy  |  93 ++++++
 .../cfg/domainbinding/CollectionBinderSpec.groovy  | 113 ++++++-
 .../CollectionSecondPassBinderSpec.groovy          | 116 ++++++-
 .../domainbinding/GrailsPropertyBinderSpec.groovy  | 143 ++++++--
 .../domainbinding/ListSecondPassBinderSpec.groovy  | 116 ++++++-
 .../domainbinding/MapSecondPassBinderSpec.groovy   | 116 ++++++-
 .../NaturalIdentifierBinderSpec.groovy             | 119 ++-----
 .../binder/ClassPropertiesBinderSpec.groovy        |  57 ++++
 .../binder/JoinedSubClassBinderSpec.groovy         |  86 +++++
 .../binder/SingleTableSubclassBinderSpec.groovy    |  61 ++++
 .../binder/UnionSubclassBinderSpec.groovy          |  66 ++++
 .../util/MultiTenantFilterBinderSpec.groovy        | 168 ++++++++++
 38 files changed, 1713 insertions(+), 527 deletions(-)
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/ClassPropertiesBinder.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/JoinedSubClassBinder.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/SingleTableSubclassBinder.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/UnionSubclassBinder.java
 create mode 100644 
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/util/MultiTenantFilterBinder.java
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/NaturalIdSpec.groovy
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/ClassPropertiesBinderSpec.groovy
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/JoinedSubClassBinderSpec.groovy
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/SingleTableSubclassBinderSpec.groovy
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/UnionSubclassBinderSpec.groovy
 create mode 100644 
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/util/MultiTenantFilterBinderSpec.groovy

Reply via email to