Message:
The following issue has been closed.
Resolver: Gavin King
Date: Thu, 25 Dec 2003 2:52 AM
This is intended.
---------------------------------------------------------------------
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: Closed
Priority: Minor
Resolution: REJECTED
Project: Hibernate2
Versions:
2.0.3
Assignee:
Reporter: Rajesh Patel
Created: Mon, 22 Dec 2003 2:12 PM
Updated: Thu, 25 Dec 2003 2:52 AM
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
|