In my Grails 3.1 app, the hibernate config is "dbCreate: update" and db is oracle 12c. When adding a domain class which references a table in another schema, hibernate does not generate the foreign key. It works fine in 4.x.