If I have a class such as:
class Person { private String name; ...constructor, getters, setters, equals, hashcode, tostring... }
Can I subc
That wont work since the fields in super class will not be affected, but you can try this
@Entity class Employee extends Person { @Column(name="xxx") @Override public void setName(String name) { super.setName(name); } ...