[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1035?page=c...
]
Petr Bodnar commented on HBX-1035:
----------------------------------
I definitely agree with the suggestion - show at least some confirmation before executing
the DDL. Or even better: Give the user the choice to only show the DDL without executing
it (after clicking the 'Run SchemaExport' menu item).
I deleted my database tables by this menu item and because an error appeared during the
export execution I even thought nothing happened until someone came to me and reported
that data are missing in the tables.
Safety: 'Run SchemaExport' menu option
--------------------------------------
Key: HBX-1035
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1035
Project: Hibernate Tools
Issue Type: Improvement
Components: eclipse
Reporter: Karel-Henk Nijhuis
The 'Run SchemaExport' option that is accessible from the configuration context
menu inside the Eclipse 'Hibernate Configurations' view does not give any
feedback. Choosing this option, however, results in executing DDL on the database which
erases all data inside the configured database. The schema export option could also be
interpreted as a way to get the schema's SQL without executing the DDL. I would
suggest to give more appropriate feedback before this operation is run.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira