[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2040) JPA Validator signs that Entity "EntityName" has no Id or EmbeddedId when that class extends another Entity Class with @Id defined on Super Class

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Tue Dec 2 11:26:38 EST 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12440762#action_12440762 ] 

Vitali Yemialyanchyk commented on JBIDE-2040:
---------------------------------------------

https://bugs.eclipse.org/bugs/show_bug.cgi?id=217192 - invalid link

> JPA Validator signs that Entity  "EntityName" has no Id or EmbeddedId when that class extends another Entity Class with @Id defined on Super Class
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-2040
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2040
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: UpStream
>    Affects Versions: 2.0.1
>         Environment: Eclipse 3.3.2 with Jboss Tools 2.0.1GA
>            Reporter: Rafael Benevides
>             Fix For: LATER
>
>
> @Entity
> public class Person extends BaseEntity{
> // other properties
> }
> @MappedSuperclass
> public abstract class BaseEntity implements Serializable {
> 	@Id
> 	private Long id;
>        //Getters and Setters
> }
> Eclipse JPA Validator shows: Entity "Person" has no Id or EmbeddedId

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list