Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

https://www.baeldung.com/hibernate-inheritance

@Entity
public class MyEmployee extends Person {
    private String company;
    // constructor, getters, setters 
}
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+7 =