michal-se opened a new issue, #14631:
URL: https://github.com/apache/grails-core/issues/14631

   At runtime, after change in hibernate mapped domain class, I get 
`String-based queries like [executeQuery] are currently not supported in this 
implementation of GORM` UnsupportedOperationException
   
   I suppose that during class reloading, the hibernate's gorm implementation 
is somehow replaced with mongo's implementation.
   It happens only when `compile :mongodb:3.0.3` is added to BuildConfig, even 
though any mongo datastore/domain is not configured. Removal of mongodb plugin 
solves problem. But I need mongodb in my actual app.
   
   I attached logs with couple of comments what actions I took. 
[test4.txt](https://github.com/grails/grails-data-mapping/files/677444/test4.txt)
  If logs are not enough to tackle it, I am able to provide sample app.
   
   My env:
   Grails version: 2.5.4
   java version "1.8.0_112"
   plugins used:
   ```
       plugins {
                build(":release:3.1.2",
                                ":rest-client-builder:2.1.1") {
                        export = false
                }
                compile ":wslite:0.7.2.0"
                compile ":asset-pipeline:2.5.7"
                compile ':cookie:1.4'
   
                //runtime ":hibernate:3.6.10.19"
                build ":tomcat:7.0.55.3" // or ":tomcat:8.0.22"
                runtime ":hibernate:3.6.10.18"
                compile ":taggable:1.1.0"
                compile ":mongodb:3.0.3"
       }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to