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

Generate entities from tables causes validation errors with MySQL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.2.x, 4.3.x
    • 4.2.0.Final
    • forge, hibernate
    • None

      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.

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

                Created:
                Updated:
                Resolved: