You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class User {
private int id;
private int username;
.....
}
class Teacher extends User {
private int role;
.....
}
class Student extends User {
private Detail details;
.....
}
And I define my mapping base on the example as follow...
I'm current getting the unknown property exception on values that's not apart of the base User class Could not find eligible property for 'Role' on class com.example.User not found
So I would imagine that I need to map the properties for the sub class like I would n to n or n to m relationships but I'm not sure how to accomplish that .... any input into the matter?
The text was updated successfully, but these errors were encountered:
Background.... let say I have 3 classes as such.
And I define my mapping base on the example as follow...
I'm current getting the unknown property exception on values that's not apart of the base User class
Could not find eligible property for 'Role' on class com.example.User not found
So I would imagine that I need to map the properties for the sub class like I would n to n or n to m relationships but I'm not sure how to accomplish that .... any input into the matter?
The text was updated successfully, but these errors were encountered: