Java Spring Generic super class with OneToMany/ManyToOne ralationship ?
Hello. I am working on web app, where I need to handle tree of categories. I created the class for Nodes of categories tree for specific topic. But it is possible to "extract" from it some generic superclass ? When I change annotation of CategoryNodeShapeOfLeafBlade class from entity to @MappedSuperclass, the compiler rise alert, that mappedsuperclass cannot contain relationships OneToMany/ManyToOne..... So is it possible to extract sueper class ?

