In a Grails project, if I place my entity classes in the /domain folder, Grails automatically attempts to use GORM/Hibernate for persistence. If I'm peristing to a different type of store, say Mongo, Reddis, etc, can I still place my classes in the domain folder and implement my own persistence logic?
I've disabled hibernate
and domain
in BuildConfig.groovy
using excludes 'hibernate,domain'
, but Grails still complains..perhaps I should just place my domain classes in src/groovy/mypackage
...