How can I map a domain class with annotations in Grails 3.0.1?
The following steps didn\'t work for me.
Step 1. I have created a new applica
As Graeme suggested, the solution is putting hibernate.cfg.xml
in grails-app/conf
instead of grails-app/conf/hibernate
, otherwise the configuration will not take effect. I have submitted a pull request to reflect this in the relevant documentation and I hope the update to take effect soon so to prevent other users from facing the same issue.