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

Koen Aers (JIRA) issues at jboss.org
Tue Nov 11 09:33:27 EST 2014


     [ https://issues.jboss.org/browse/JBIDE-18716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koen Aers updated JBIDE-18716:
------------------------------
    Fix Version/s: 4.2.x
                   4.3.x


> 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
>             Fix For: 4.2.x, 4.3.x
>
>
> 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.8#6338)


More information about the jbosstools-issues mailing list