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

Hibernate Reverse Engineering Editor should show multiple catalogs/schemas from a MySQL database

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Minor Minor
    • 3.2.0.Beta2
    • 3.1.0.CR1
    • hibernate
    • None

      MySQL is funny with catalogs and schemas. It doesn't support schemas like most other databases do. It's just called 'databases'.
      When you try to create a reveng.xml file using the Hibernate Reverse Engineering Editor, you can't get multiple databases / schemas to show up.

      It looks like the wizard looks at the hibernate.connection.url property in the hibernate-console.properties file. However, when I leave out the name of the database (e.g. jdbc:mysql://localhost:3306) without the database, the wizard does not return any tables.

      When you leave out the default database (i.e. schema) name in the connection.url, you should see all databases/ schemas for that one connection.
      When a user selects multiple schemas, the resulting reveng.xml file should have one <schema-selection ...> element for each schema the user wants to map tables from.

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

              Created:
              Updated:
              Resolved: