[jbosstools-issues] [JBoss JIRA] Created: (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
Rafael Benevides (JIRA)
jira-events at lists.jboss.org
Wed Apr 9 16:36:55 EDT 2008
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: http://jira.jboss.com/jira/browse/JBIDE-2040
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 2.0.1
Environment: Eclipse 3.3.2 with Jboss Tools 2.0.1GA
Reporter: Rafael Benevides
@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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list