You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/07/10 02:50:21 UTC

(grails-core) 01/02: fix: Use correct plugin name so hibernate loads before mongo

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

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

commit 5bd85278d7522353bf6cd83ad083734570ad18b2
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Wed Jul 9 22:34:50 2025 -0400

    fix: Use correct plugin name so hibernate loads before mongo
---
 .../src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grails-data-mongodb/grails-plugin/src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy b/grails-data-mongodb/grails-plugin/src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy
index 9da239667f..8484ac385d 100644
--- a/grails-data-mongodb/grails-plugin/src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy
+++ b/grails-data-mongodb/grails-plugin/src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy
@@ -40,7 +40,7 @@ class MongodbGrailsPlugin extends Plugin {
     def scm = [url: 'https://github.com/grails/gorm-mongodb']
     def grailsVersion = '7.0.0 > *'
     def observe = ['services', 'domainClass']
-    def loadAfter = ['domainClass', 'hibernate5', 'hibernate6', 'services']
+    def loadAfter = ['domainClass', 'hibernate', 'hibernate5', 'hibernate6', 'services']
     def title = 'GORM MongoDB'
     def description = 'A plugin that integrates the MongoDB document datastore into the Grails framework, providing a GORM API onto it'
     def documentation = 'https://gorm.grails.org/latest/mongodb/manual'