Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10558

SchemaExport doesn't create file with script if both parameters exportToDatabase and scriptToConsole are false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.M5
    • hibernate
    • None

      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

            dgeraskov Dmitry Geraskov (Inactive)
            dgeraskov Dmitry Geraskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: