Answer the question
In order to leave comments, you need to log in
Java Spring Boot MVC how to display category hierarchy using JPA?
I have two tables, a category and a subcategory, with a ManytoOne relationship between them (one category can have many subcategories, but a subcategory has only one category) . You
can see the table structure here
.
I need to display the subcategory category hierarchy on the page using the FreeMarker templating engine.
Hierarchy example:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question