This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 314539fa93410147fb4cb0edcf3ef62c68b59747
Merge: a0e1b37bff d97e5a17b8
Author: James Daugherty <[email protected]>
AuthorDate: Wed Feb 25 13:24:51 2026 -0500

    Merge pull request #15425 from apache/fix/multi-datasource-osiv
    
    fix: extend OSIV to manage sessions for all datasources

 grails-data-hibernate5/grails-plugin/build.gradle  |   1 +
 .../GrailsOpenSessionInViewInterceptor.java        | 138 ++++++++++++++-
 .../support/MultiDataSourceSessionSpec.groovy      | 193 +++++++++++++++++++++
 .../datasources/OsivBookController.groovy}         |  23 +--
 .../datasources/UrlMappings.groovy}                |  18 +-
 .../datasources/grails-app/domain/ds2/Book.groovy  |   2 +
 .../domain/ds2/{Book.groovy => Chapter.groovy}     |   4 +-
 .../datasources/grails-app/views/osivBook/show.gsp |  29 ++++
 .../functionaltests/OsivGspRenderingSpec.groovy}   |  24 ++-
 .../functionaltests/pages/OsivBookPage.groovy}     |  17 +-
 .../grails-multiple-datasources/build.gradle       |   6 +
 .../datasources/SecondaryBookController.groovy     |  78 +++++++++
 .../controllers/datasources/UrlMappings.groovy}    |  20 +--
 .../MultiDataSourceWithSessionSpec.groovy          |  86 +++++++++
 14 files changed, 588 insertions(+), 51 deletions(-)

Reply via email to