From: <leg...@at...> - 2003-12-22 20:12:25
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-574 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-574 Summary: SchemaExport/Update ant tasks should fail if a SQLException occurs Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Versions: 2.0.3 Assignee: Reporter: Rajesh Patel Created: Mon, 22 Dec 2003 2:12 PM Updated: Mon, 22 Dec 2003 2:12 PM Environment: Windows Description: When a sql exception occurs, both net.sf.hibernate.tool.hbm2ddl.SchemaExportTask and net.sf.hibernate.tool.hbm2ddl.SchemaUpdateTask do not fail, there should be a way to configure these tasks to report failure back to ant similar to that java task. It has a failonerror that halts the build. In the SchemaExport/SchemaUpdate classes it would be fairly simple to continue to ignore exceptions while dropping the tables, but to rethrow the sql exception when running the schema in. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |