java.lang.UnsupportedOperationException: String-based queries like [executeQuery] are currently not supported in this implementation of GORM. Use criteria instead.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by saw303
, 1 year ago
String-based queries like [executeQuery] are currently not supported in this implementation of GORM. Use criteria instead.
via GitHub by saw303
, 1 year ago
String-based queries like [executeQuery] are currently not supported in this implementation of GORM. Use criteria instead.
java.lang.UnsupportedOperationException: String-based queries like [executeQuery] are currently not supported in this implementation of GORM. Use criteria instead.
at org.grails.datastore.gorm.GormStaticApi.unsupported(GormStaticApi.groovy:1124)
at org.grails.datastore.gorm.GormStaticApi.executeQuery(GormStaticApi.groovy:1028)
at org.grails.datastore.gorm.GormStaticApi.executeQuery(GormStaticApi.groovy:1024)
at grails.issues.Season.between(Season.groovy:64)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.