[jboss-jira] [JBoss JIRA] (HIBERNATE-163) Hibernate: hibernate.hbm2ddl.auto = validate is very slow
Laurent Grangier (Jira)
issues at jboss.org
Mon Mar 11 10:27:01 EDT 2019
Laurent Grangier created HIBERNATE-163:
------------------------------------------
Summary: Hibernate: hibernate.hbm2ddl.auto = validate is very slow
Key: HIBERNATE-163
URL: https://issues.jboss.org/browse/HIBERNATE-163
Project: Hibernate Integration
Issue Type: Enhancement
Reporter: Laurent Grangier
Assignee: Steve Ebersole
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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list