One question about schema generation. I have a project with 2 different datasources and for one of those, I would like to filter which tables are created with the automatic schema generation. I am following the next instructions
https://medium.com/@horiaconstantin/excluding-hibernate-entities-from-auto-generation-bce86f8e6d94 which is a clean and elegant solution, but I would like be able to filter using the database name as well, which I haven’t been able to yet.
One way of doing that would be setting the property hibernate.hbm2ddl.schema_filter_provider per datasource, but I haven’t found any way of doing that. Any idea or suggestion?