db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mahler <thm...@web.de>
Subject Re: OQL queries without full-blown ODMG?
Date Tue, 01 Apr 2003 05:07:12 GMT
Hi Neeme,

This will be possible without problems.
The current OQL query implementation allows to perform queries without 
opening an ODMG transaction.

So you can just load objects with OQL queries and operate on them with 
PersistenceBroker API.


Neeme Praks wrote:
> Hi!
> Just wondering, how easy would it be to use OQL queries without all the 
> heavy artillery of ODMG?
> I like the OQL approach for making SQL queries abstract, but I do not 
> want to get into the full ODMG locking and transactions...
> How easy would it be to just extract some code from OQLQueryImpl and use 
> the parsing support from there to get at the valid 
> org.apache.ojb.broker.query.Query object... any hidden gotchas?
> Maybe some helpful pointers? I'm very much willing to contribute back 
> something useful... ;-)
> Rgds,
> Neeme
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message