When some entity or association is mapped against materialized view and schema validation is enabled (hibernate.hbm2ddl.auto=validate is set to true), then schema validation fails.
Thanks Bruno. If I don't hear back from Dionis, I will apply that change
To be clear, using that setting here should be viewed as a workaround.
Steve, I do think that using the setting is a workaround. I think that the default for the Postgres dialect should be use tables, views and materialized views, without any setting. I liked the PR, but I agree with you, it should be more flexible to augment the types filter list. I do hope we find a good solution to this matter.
Hello, everyone. I like Steve's Solution. It's more generic than mine. So +1 for it.