[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-8436) JPA: validation of generic generator annotation isn't performed when it used with id mapping

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Fri Jun 17 10:14:23 EDT 2011


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

Jiri Peterka closed JBIDE-8436.
-------------------------------



Verified in JBT 3.3.0.m1, L64

> JPA: validation of generic generator annotation isn't performed when it used with id mapping
> --------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-8436
>                 URL: https://issues.jboss.org/browse/JBIDE-8436
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.2.0.CR1
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>             Fix For: 3.3.0.M1
>
>
> 1) Create mapping field in an entity:
> @Id
> @GenericGenerator(name = "my_generator", strategy = "wrong_strategy")
> private int id2;
> 2) Error expected, but nothing is shown.
> 3) move @GenericGenerator annotation near @Entity and compare

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list