In org.hibernate.metamodel.mapping.internal.EmbeddableMappingTypeImpl constructor first parameter in SelectableMappingImpl.from (containing table expression) should be qualified (including schema and/or catalog name) table name instead of just table name. With that change test case will pass on PostgreSQL. I was unable to test on Oracle, schema is there something completely different than on PostgreSQL. I’ve created pull request 6683 with slighlty modified test case and patch that may fix that problem … hopefully |