This may be a training/education issue, but I haven't been able to figure this one out...here's the setup using PI System Explorer:
1) Create a simple element (I named mine 'MyParent')
2) Create a child element within it (called it 'MyChild')
Query ElementHierarchy (either through JDBC or OLEDB Ent), and both show up fine.
3) Version 'MyParent' (again did this in PI System Explorer)
Query ElementHierarchy again, but MyChild is no longer returned in the query results (but looks fine in PI System Explorer). I also queried through vElementHierarchy with no luck. I then deleted the version I added to MyParent, and still couldn't find 'MyChild' in the element hierarchy views.
Thanks for any help!