[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3674) Expose SchemaUpdate#haltOnError as a configuration property

Christopher Klewes (JIRA) noreply at atlassian.com
Thu Feb 2 05:07:11 EST 2012


    [ https://hibernate.onjira.com/browse/HHH-3674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45347#comment-45347 ] 

Christopher Klewes commented on HHH-3674:
-----------------------------------------

This would be a very usable enhancement, to inform the caller about an error and be able to cancel the progress.

> Expose SchemaUpdate#haltOnError as a configuration property
> -----------------------------------------------------------
>
>                 Key: HHH-3674
>                 URL: https://hibernate.onjira.com/browse/HHH-3674
>             Project: Hibernate ORM
>          Issue Type: New Feature
>          Components: documentation, metamodel
>            Reporter: Chris Bredesen
>            Assignee: Chris Bredesen
>            Priority: Minor
>
> SchemaUpdate currently collects and logs any Exceptions caught during its work.  While the Exceptions are logged, Hibernate is allowed to startup successfully.  This feature request allows for a setting to flip this behavior such that Hibernate will not start if one or more Exceptions are encountered during SchemaUpdate (in test environments, of course).
> Proposed configuration option is hibernate.hbm2ddl.haltOnError

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list