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 8042c26f84 progress
new 869d405d6d GrailsDomainBinder
new 707490c275 progress
new ae067982e5 progress
new d351356ffb progress
new 7b51b8b1a9 progress
new 0dd53ae0cd progress
new b4d40682e3 progress
new 4334492a03 progress
new 8e2d0397d5 progress
new 21c141068b Split class hierarchy
new 9c8ba25a0a remove duplication of SecondPass
new 85bf74da60 remove one layer of indirection in SecondPass
new 9d2595edda Summary of changes: - Modified
HibernateToManyProperty.java to return GrailsHibernatePersistentEntity in
getAssociatedEntity() and removed the unused PersistentEntity import. -
Overrode getAssociatedEntity() in HibernateManyToOneProperty,
HibernateOneToOneProperty, HibernateManyToManyProperty, and
HibernateOneToManyProperty to return the more specific
GrailsHibernatePersistentEntity type. - Updated
CollectionSecondPassBinder.java to use the more specifi [...]
new 8c8ff2a3bf A little bit of cleanup
new 10260ee3fb Assign GrailsHibernatePersistentEntity to TableNameFetcher
new 90e301dc86 Fix AttachMethodSpec
new 137181a040 changed return type of
HibernateToManyProperty.getHibernateAssociatedEntity
new ace439b0d0 refactored CollectionSecondPassBinder
new 7036d2ccf4 fixed OneToManySpec
new 251a15f182 fixed rlike spec
The 20 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 | 2 +-
.../orm/hibernate/HibernateGormInstanceApi.groovy | 5 +-
.../orm/hibernate/cfg/GrailsDomainBinder.java | 92 +--
.../cfg/GrailsHibernatePersistentEntity.java | 9 +
.../cfg/GrailsHibernatePersistentProperty.java | 19 +
.../hibernate/cfg/HibernateManyToManyProperty.java | 5 +
.../hibernate/cfg/HibernateManyToOneProperty.java | 5 +
.../hibernate/cfg/HibernateOneToManyProperty.java | 5 +
.../hibernate/cfg/HibernateOneToOneProperty.java | 5 +
.../orm/hibernate/cfg/HibernateToManyProperty.java | 9 +-
.../cfg/domainbinding/CascadeBehaviorFetcher.java | 2 +-
.../cfg/domainbinding/CollectionBinder.java | 771 +--------------------
.../hibernate/cfg/domainbinding/ColumnBinder.java | 2 +-
.../cfg/domainbinding/ComponentPropertyBinder.java | 19 +-
.../CompositeIdentifierToManyToOneBinder.java | 3 +-
.../domainbinding/DefaultColumnNameFetcher.java | 4 +-
.../cfg/domainbinding/GrailsPropertyBinder.java | 19 +-
.../cfg/domainbinding/NamingStrategyWrapper.java | 10 +-
.../cfg/domainbinding/OrderByClauseBuilder.java | 119 ++++
.../cfg/domainbinding/SimpleValueBinder.java | 24 +-
.../cfg/domainbinding/TableForManyCalculator.java | 27 +-
.../cfg/domainbinding/TableNameFetcher.java | 12 +-
.../secondpass/CollectionSecondPassBinder.java | 510 ++++++++++++++
.../secondpass/GrailsCollectionSecondPass.java | 86 ---
.../domainbinding/secondpass/GrailsSecondPass.java | 10 +
.../domainbinding/secondpass/ListSecondPass.java | 33 +-
.../secondpass/ListSecondPassBinder.java | 123 ++++
.../domainbinding/secondpass/MapSecondPass.java | 33 +-
.../secondpass/MapSecondPassBinder.java | 101 +++
.../domainbinding/secondpass/SetSecondPass.java | 57 ++
.../grails/gorm/specs/RLikeHibernate7Spec.groovy | 9 +-
.../CollectionSecondPassBinderSpec.groovy | 83 +++
.../ComponentPropertyBinderSpec.groovy | 2 -
...CompositeIdentifierToManyToOneBinderSpec.groovy | 7 +-
.../DefaultColumnNameFetcherSpec.groovy | 2 +-
.../domainbinding/GrailsPropertyBinderSpec.groovy | 78 ++-
.../domainbinding/ListSecondPassBinderSpec.groovy | 89 +++
.../domainbinding/MapSecondPassBinderSpec.groovy | 88 +++
.../domainbinding/NamingStrategyWrapperSpec.groovy | 11 +-
.../domainbinding/OrderByClauseBuilderSpec.groovy | 103 +++
.../TableForManyCalculatorSpec.groovy | 145 ++--
.../cfg/domainbinding/TableNameFetcherSpec.groovy | 9 +-
.../data/testing/tck/tests/AttachMethodSpec.groovy | 8 +-
.../config/GormMappingConfigurationStrategy.java | 7 +-
44 files changed, 1674 insertions(+), 1088 deletions(-)
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/OrderByClauseBuilder.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/secondpass/CollectionSecondPassBinder.java
delete 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/GrailsSecondPass.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/secondpass/ListSecondPassBinder.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/secondpass/MapSecondPassBinder.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/secondpass/SetSecondPass.java
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/CollectionSecondPassBinderSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/ListSecondPassBinderSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/MapSecondPassBinderSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/OrderByClauseBuilderSpec.groovy