These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: easy question, cant figure it out, please help anybody ;-(
PostPosted: Fri Nov 17, 2006 10:57 am 
Newbie

Joined: Mon Nov 06, 2006 4:58 am
Posts: 4
Hi,

i think this is easy to d, but i cant figure out how, i tried it the whole day:

I need a query where three Classes are included:

ContentItem(has a list named "SetsHavingItem")
ContentSet(has a list "Items")
Download-Track(has many datarows and stores ContentSets)

ContentItem and ContentSet have already a bidirectional many-to-many relation between (Items and SetsHavingItem)

Now i want a query which gives me

all ContentItems which are included in ContentSets in the Download-Track Table

It cant be that difficult, please give me a hint.

[/b]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 4:26 pm 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
Ergh, maybe some mappings or UML could help. What have you already tried?

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.