samedi 30 mai 2015

Creating jpa entities of several types

My project has 3 types of users. One type has all attributes of the other two types. I have a entity call User. And I extended UserType1 and UserType2 from User. And I want all properties of Type1 and Type2 to be there in Type3. How can I do it in JPA entities.

Aucun commentaire:

Enregistrer un commentaire