[
https://issues.jboss.org/browse/JBIDE-10558?page=com.atlassian.jira.plugi...
]
Steve Ebersole commented on JBIDE-10558:
----------------------------------------
In future it is more appropriate to have fixes against Hibernate itself have a JIRA issue
in its JIRA instance.
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