KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a tree structure where each Node has a parent and a Set<Node> children . Each Node has a String title , and I want to make a query where I select Set<String> titles , being the title of this node and of all parent nodes. How do I write this query? The query for a single title is this, but like I said, I'd like it expanded for the entire branch of parents. SELECT node.title FROM Node node WHERE node.id = :id Cheers Nik
Tags (comma-separated)
Save Edits
Cancel