Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO]What query language CDO Supported?
[CDO]What query language CDO Supported? [message #427920] Fri, 06 March 2009 06:22 Go to next message
Xingxiao Lu is currently offline Xingxiao LuFriend
Messages: 91
Registered: July 2009
Member
Hi,
At present, what query language CDO Supported? CDO whether or not to
support the SQL language? How can I use CDOQuery?
Re: [CDO]What query language CDO Supported? [message #427921 is a reply to message #427920] Fri, 06 March 2009 06:31 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Xxlu,

The only common query language currently supported is the internal
Resources QL (see CDOView.queryResources).
I think support of SQL (DBStore-specific) would be comparingly easy to
implement but would require the client to know the mapping details of
the backend. We're planning to supprt OCL as a common, server-side query
language in the future:

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

CDOView.createQuery / CDOQuery are a generic query framework for sending
query strings and paramenters to the server, run query executions and
send back results synchronously or asynchronously. On the server side a
repository scoped list of query (language) handlers is consulted before
queries are passed for execution to the store. You can plug in your own
query handlers there.

Cheers
/Eike

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



xxlu schrieb:
> Hi,
> At present, what query language CDO Supported? CDO whether or not to
> support the SQL language? How can I use CDOQuery?
>
>
>


Previous Topic:Annotations not functional?
Next Topic:Applying constraints on CellEditor for EReference attributes
Goto Forum:
  


Current Time: Fri Apr 26 22:40:12 GMT 2024

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

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

Back to the top