Hi all, i have this situation:
I have an entity, "Person", that contains all personal details of a person, like birth date, street address, municipality ecc ecc. And i have an entity "ClubMember" that describe a member of a club and contains some field like: registration date, type of member, credit, ecc ecc
So, a ClubMember is a Person, and i think is correct describe this with a inheritance: ClubMember extends Person, but, what type of strategy?
I would obtain two table in database, Person and ClubMember, with ClubMember that contain id_person like an @OneToOne relationship, but keep the inheritance between entities; is this possible(and is correct)?
JOINED is the strategy closest to my target, but i lose the ID field of table ClubMember, in fact ID become the ID of table Person...