Super class « Update « JPA Q&A





1. Possibility to ONLY persist superclass?    forum.hibernate.org

@Entity public class User implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String login; private String password; ... getter & setter code } @Entity public class RegisterForm extends User { ...