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

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Wed Feb 8 07:01:48 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov updated JBIDE-10558:
------------------------------------

       Fix Version/s: 3.3.0.CR1
                          (was: 3.3.0.Beta1)
    Git Pull Request: https://github.com/hibernate/hibernate-core/pull/238  (was: https://github.com/hibernate/hibernate-core/pull/238)


Should be fixed in hibernate core. Now use the workaround
                
> 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.CR1
>
>
> 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