I’m working on a quick internal plugin that has domain models, and I wrote an integration test that did a findAll().
BOOM! Dreading errors about “methodMissing” not helping find all of the model.
I forgot something key about plugins: they’re created with a very limited set of plugins installed, keeping their dependencies minimal. Makes perfect sense, really.
In my case, I just needed to add “:hibernate:$grailsVersion” to the list of build dependencies in BuildConfig.groovy. Off we go…