[jbosstools-issues] [JBoss JIRA] (JBIDE-18716) Generate entities from tables causes validation errors with MySQL

Xavier Coulon (JIRA) issues at jboss.org
Thu Oct 30 06:13:35 EDT 2014


Xavier Coulon created JBIDE-18716:
-------------------------------------

             Summary: Generate entities from tables causes validation errors with MySQL
                 Key: JBIDE-18716
                 URL: https://issues.jboss.org/browse/JBIDE-18716
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: forge, hibernate
    Affects Versions: 4.2.0.Final
            Reporter: Xavier Coulon


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:
{code}
@Table(name="Conference"
    ,catalog="conferences"
)
{code}
but the JPA validator reports an error on {{catalog="conferences"}}, claiming that
{quote}
 "conferences" cannot be resolved for table "Conference"
{quote}

This happens with both JPA tooling and Forge tooling.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list