Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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

@MappedSuperclass
public class Person {
 
    @Id
    private long personId;
    private String name;
 
    // constructor, getters, setters
}
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+1 =