[jboss-jira] [JBoss JIRA] (HIBERNATE-163) Hibernate: hibernate.hbm2ddl.auto = validate is very slow

Laurent Grangier (Jira) issues at jboss.org
Mon Mar 18 15:14:00 EDT 2019


    [ https://issues.jboss.org/browse/HIBERNATE-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709892#comment-13709892 ] 

Laurent Grangier commented on HIBERNATE-163:
--------------------------------------------

Sorry I create the issue in the wrong JIRA domain. Please see https://hibernate.atlassian.net/browse/HHH-13328

> 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
>            Priority: Major
>
> 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