• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to search for nested objects?

 
Ra Carter
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for a list of objects that are nested several objects down, for example, I am looking for something like this:

Object1.object2.object3

Object1 has a set of Object2 and Object2 has a set of Object3.

I tried something like this unsuccessfully:



Is there a way to do this without resorting to HQL?

[ October 01, 2008: Message edited by: Ra Carter ]

[ October 01, 2008: Message edited by: Ra Carter ]
[ October 02, 2008: Message edited by: Scott Selikoff ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!