[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-8436) JPA: validation of generic generator annotation isn't performed when it used with id mapping
Dmitry Geraskov (JIRA)
jira-events at lists.jboss.org
Wed Feb 16 10:23:14 EST 2011
[ https://issues.jboss.org/browse/JBIDE-8436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Geraskov updated JBIDE-8436:
-----------------------------------
Description:
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
was:
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.
> 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.x
>
>
> 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