[jbosstools-issues] [JBoss JIRA] (JBIDE-10558) ScheamExport doesn't create file with script if both parameters exportToDatabase and scriptToConsole are false

Dmitry Geraskov (Created) (JIRA) jira-events at lists.jboss.org
Thu Dec 22 04:46:09 EST 2011


ScheamExport 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.Beta2


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

        


More information about the jbosstools-issues mailing list