Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Query API
[CDO] Query API [message #429051] Tue, 07 April 2009 07:34 Go to next message
Matthew Watson is currently offline Matthew WatsonFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

I'm progressing with the other stuff, but it occurred to me I've seen
nothing of the CDO Query API. Can someone point me in the direction or
examples of this API? How do I query for an object or set of objects via
CDO when I don't have a URI to start off with?

Thanks,
Matt
Re: [CDO] Query API [message #429055 is a reply to message #429051] Tue, 07 April 2009 09:16 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Matthew,

The CDO Query API describes a generic query framework that abstracts and
implements the basic concepts and mechanisms to transport queries (i.e.
query strings and parameters) to the server, delegate to pluggable query
language handlers and return results synchronously or asynchronously
back to the client. The client API starts at CDOView.createQuery() and
the server SPI is two-fold: backend-specific query handlers are to be
implemented by the IStoreAccessors and common query handlers are
configured at the repository level via Repository.setQueryHandlerProvider().

Unfortunately nobody contributed concrete query handlers since we
published the generic query framework. There have been discussions about
OCL as a common query language:

245658: [Query] Provide OCL query language
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245658

But no progress so far ;-(

Cheers
/Eike

----
http://thegordian.blogspot.com



Matthew Watson schrieb:
> Hi,
>
> I'm progressing with the other stuff, but it occurred to me I've seen
> nothing of the CDO Query API. Can someone point me in the direction or
> examples of this API? How do I query for an object or set of objects
> via CDO when I don't have a URI to start off with?
>
> Thanks,
> Matt
>


Previous Topic:[teneo] org.hibernate.PropertyValueException when saving resource
Next Topic:Re: IPropertySource for EObject
Goto Forum:
  


Current Time: Tue Apr 23 15:12:52 GMT 2024

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

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

Back to the top