How come Spring Boot app creates only “User” table when I have “User” class and two classes “Student” and “Teacher” that inherit from it?
I'am using jakarta and when I run the app the "Student" and "Teacher" tables didn't created and only the "User" table is created. What could be the problem ? User class import jakarta.persistence.*; import java.io.Serializable; @Entity public class User implements…