I'm trying to duplicate something you can do in .Net but not having much luck.
Is the following not possible in Java or am I just missing something? When I run it I get told there is no identifier specified for entity Group.
public abstract class RCEntity
{
@Id @GeneratedValue
private int id;
//getters & setters
}
@Entity
public class Group extends RCEntity {
}