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

Generate entities from tables causes validation errors with MySQL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.2.x, 4.3.x
    • 4.2.0.Final
    • forge, hibernate
    • None

    Description

      When "generating entities from tables" using a MySQL datasource (eg: jdbc:mysql://localhost:3306/conferences), a conference table gives a Conference class with the following annotation:

      @Table(name="Conference"
          ,catalog="conferences"
      )
      

      but the JPA validator reports an error on catalog="conferences", claiming that

      "conferences" cannot be resolved for table "Conference"

      This happens with both JPA tooling and Forge tooling.

      Attachments

        Activity

          People

            kaers@redhat.com Koen Aers
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: