Hibernate: hibernate.hbm2ddl.auto = validate is very slow
Description
I tried to activate the validate mode for project. With a remote database (but within same enterprise network), it needs more than 15 minutes to validate all the entities (I have about 200 entities). If the DB is running on the same computer, it still needs about 2 minutes to run the validate.
The difference between local and remote DB let me think, the validation process is not performant design and perhaps make way too much DB round-trips.
I would expect the validation process run within seconds or a few minutes (1-2 minutes) even if the DB is remote.
I tried to activate the validate mode for project. With a remote database (but within same enterprise network), it needs more than 15 minutes to validate all the entities (I have about 200 entities).
If the DB is running on the same computer, it still needs about 2 minutes to run the validate.
The difference between local and remote DB let me think, the validation process is not performant design and perhaps make way too much DB round-trips.
I would expect the validation process run within seconds or a few minutes (1-2 minutes) even if the DB is remote.