dbTalk Databases Forums  

Criteria queries

comp.databases.object comp.databases.object


Discuss Criteria queries in the comp.databases.object forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Carl Rosenberger
 
Posts: n/a

Default Criteria queries - 12-10-2003 , 09:55 AM






Hi all,

I would like to share the following link with you:
Quote:
http://blog.hibernate.org/cgi-bin/bl...0King/qbc.html
Generally I believe that a standard for object-oriented
queries would be very benefitial for all object database-
and O-R vendors. It would allow to build a tool base on
both sides of the API.

I like Gavin King's thoughts on the matter and I am
watching closely, where the design is going. Maybe Gavin
can be the driving force to bring object-oriented queries
into JDO 2.0.

Although his API for hibernate is substantially different
to our S.O.D.A. API that we built into db4o, the principle
approach is the same:

- It should be possible to construct a query with the
minimum use of strings possible. Strings are "bad". They
are not checked during compile time and they can not be
refactored with IDEs.

- It should be possible to plug any object into a query
graph. This allows object reuse and minimizes the total
amount of code necessary.

- It should be possible to create queries step-by-step,
node-by-node. This allows the construction of queries
to be delegated to multiple method calls within an
application, a requirement to allow a high amount of
code reuse.


Our S.O.D.A. approach adds one further step:
- It should be possible to instruct the query processor
to execute user code.


It's nice to see that there are other people that
dislike JDOQL.


Kind regards,
Carl
--
Carl Rosenberger
db4o - database for objects - http://www.db4o.com




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.