Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » (no subject)
(no subject) [message #687499] Thu, 16 June 2011 19:16
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Here the answer I gave earlier but which disappeared in the void (there are apparently problems with the newsgroup/forum to sync up):

I think you should make this a join to the MobileProvider entity (assuming that's the name), and use the special elements function, something like this:
select count(asset.ID) from Asset as asset, MobileProvider as mp where mp in elements(asset.StateInfo) and mp.Name='Vodafone'

Hibernate/HQL has some nice collection functions which you can use in the where clause.

gr. Martin
Previous Topic:[CDO] Getting started with CDO Hibernate Store
Next Topic:[CDO] CDO Hibernate Server causes " Not able to update container columns of CDOResource wit
Goto Forum:
  


Current Time: Fri Oct 18 06:29:47 GMT 2019

Powered by FUDForum. Page generated in 0.01379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top