[
https://issues.jboss.org/browse/JBIDE-10558?page=com.atlassian.jira.plugi...
]
Dmitry Geraskov resolved JBIDE-10558.
-------------------------------------
Fix Version/s: 3.3.0.Beta1
(was: 3.3.0.Beta2)
Resolution: Done
We'll need to use the workaround even after hibernate core guys will fix the problem
as users could use older hibernate core jar with this problem. So no need to remove the
workaround in the future
SchemaExport doesn't create file with script if both parameters
exportToDatabase and scriptToConsole are false
--------------------------------------------------------------------------------------------------------------
Key: JBIDE-10558
URL:
https://issues.jboss.org/browse/JBIDE-10558
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 3.3.0.M5
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.3.0.Beta1
Reproducible with Hibernate 4.
I am going to create a workaround for Beta1: set script to console internally to true if
outputFileName is set and exportToDatabase is false.
Test case:
1. Create JPA Project with some mappings
2. Right click->JPA Tools->Generate Tables From Entities
3. Do not set exportToDatabse checkbox
4. press finish
Check if schema.ddl is generated
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira