This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 418cde8b33 Merge pull request #15417 from
apache/fix/java-compat-jvm-args
add 7ae3260c47 Fix @Where and DetachedCriteria query methods ignoring
@Transactional(connection)
add dbb0e9851e Merge branch '7.0.x' into fix/where-connection-routing
add 98e9b512fd Add @Where connection routing TCK test for multi-datasource
support
add 5a50372074 refactor: use public GORM multi-datasource API in test
helpers
new 118f897eab Merge pull request #15418 from
apache/fix/where-connection-routing
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:
.../core/GrailsDataHibernate5TckManager.groovy | 47 ++++-
.../WhereQueryMultiDataSourceSpec.groovy | 179 +++++++++++++++++
.../mongo/core/GrailsDataMongoTckManager.groovy | 38 ++++
.../implementers/AbstractWhereImplementer.groovy | 8 +-
.../services/WhereConnectionRoutingSpec.groovy | 211 +++++++++++++++++++++
.../testing/tck/base/GrailsDataTckManager.groovy | 16 ++
.../{TestEntity.groovy => WhereRoutingItem.groovy} | 21 +-
...ntity.groovy => WhereRoutingItemService.groovy} | 26 ++-
.../tests/WhereQueryConnectionRoutingSpec.groovy | 140 ++++++++++++++
9 files changed, 654 insertions(+), 32 deletions(-)
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/WhereQueryMultiDataSourceSpec.groovy
create mode 100644
grails-datamapping-core/src/test/groovy/grails/gorm/services/WhereConnectionRoutingSpec.groovy
copy
grails-datamapping-tck/src/main/groovy/org/apache/grails/data/testing/tck/domains/{TestEntity.groovy
=> WhereRoutingItem.groovy} (74%)
copy
grails-datamapping-tck/src/main/groovy/org/apache/grails/data/testing/tck/domains/{ChildEntity.groovy
=> WhereRoutingItemService.groovy} (67%)
create mode 100644
grails-datamapping-tck/src/main/groovy/org/apache/grails/data/testing/tck/tests/WhereQueryConnectionRoutingSpec.groovy