I've confirmed that this behaviour was working correctly in Hibernate 4.3.11. Setting the schema attribute on @Table or setting hibernate.default_schema both resulted in SQL queries with a schema-qualified table name in the FROM clause. I was expecting both of these to still work in Hibernate 5.0. |