Top "Hierarchy" questions

For issues relating to creating, maintaining, or displaying a hierarchy of data or resources, etc.

which is better one big query or multiple small query?

which is better and efficient? one big query then just process the fetched query in the php or from php …

php mysql arrays codeigniter hierarchy
Get all parents for a child

I want to retrieve the parentid of an id, if that parentid has a parent again retrieve it, and so …

sql-server tsql recursion hierarchy recursive-cte
How to mix inheritance strategies with JPA annotations and Hibernate?

According to the Hibernate Reference Documentation it should be possible to mix different inheritance mapping strategies when using Hibernate's XML-Metadata: …

hibernate inheritance jpa annotations hierarchy
error: Only the original thread that created a view hierarchy can touch its views

Hi and thank you for looking at my question. I am an intermediate programmer in C but an Android newbie. …

android view hierarchy settext
ASP.NET MVC 3 Treeview

I need to display a Treeview in my MVC3 application. There will be a self referencing hierarchical table (Folders) and …

asp.net-mvc asp.net-mvc-3 treeview hierarchy
How can I split my javascript code into separate files?

I'm reading the Javascript Guide from Mozilla And when they contrasted JS to Java , It got me thinking, Java code …

javascript class dependencies hierarchy
SQL - How to store and navigate hierarchies?

What are the ways that you use to model and retrieve hierarchical info in a database?

sql sql-server oracle database-design hierarchy
How to use enum with grouping and subgrouping hierarchy/nesting

I have one enum 'class' called Example as follows: enum Example { //enums belonging to group A: enumA1, enumA2, enumA3, //enums …

java enums nested grouping hierarchy
Construct hierarchy tree from flat list with parent field?

I have a list of "page" objects with a parent field. This parent field references another object in the list. …

javascript arrays json tree hierarchy
Category Hierarchy (PHP/MySQL)

I am trying to get my all categories and sub-categories from MySQL database in a hierarchy: My result should be …

php mysql hierarchy categories