]
Vitali Yemialyanchyk commented on 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
--------------------------------------------------------------------------------------------------------------------------------------------------
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: