You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Brian McCallister <mc...@forthillcompany.com> on 2004/07/23 12:14:01 UTC
Re: [JDO] jdoql
Cool. Thank you again for tackling this!
Speaking of libraries not dependent on OJB, the JDOQL compiler is a
perfect example. OJB depends on it, but it shouldn't depend on OJB. You
could write an XML:DB query builder against the AST as well =)
-Brian
On Jul 23, 2004, at 3:01 AM, Thomas Dudziak wrote:
> Brian McCallister wrote:
>
>> That is the state of the JDOQL compiler? Can I start playing with it?
>
> The heterogenous AST is there (no mapping from the AST to actual
> queries, though), but consider it to be unstable yet. This is because
> I'll analyze/adapt the OQL grammar to see whether both grammars can
> produce the same AST.
>
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org
Re: [JDO] jdoql
Posted by Brian McCallister <mc...@forthillcompany.com>.
Yes! I really want to be able to define a query in OQL and then have
the JDO build a new query from the OQL via the PM#newQuery(Query):
Query method =)
Will entail a cast to make work in a fully compliant manner, but will
be very nice to have. The biggest complaint about JDO is the query
language, making additional ones available as easily as JDO will be
awesome.
-Brian
On Jul 23, 2004, at 6:27 AM, Thomas Dudziak wrote:
> Brian McCallister wrote:
>
>> Cool. Thank you again for tackling this!
>>
>> Speaking of libraries not dependent on OJB, the JDOQL compiler is a
>> perfect example. OJB depends on it, but it shouldn't depend on OJB.
>> You could write an XML:DB query builder against the AST as well =)
>
> I agree that having a separate ojb-query-api (or similar) library
> could be useful though I'm not sure whether making it a separate db
> sub-project is so, too. Also, I'm not sure whether OQL and JDOQL can
> really be combined on the AST level, but if then it would be cool.
> There are other candidates, too, e.g. EJBQL3, Soda, etc.
>
> Tom
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org
Re: [JDO] jdoql
Posted by Thomas Dudziak <to...@first.fhg.de>.
Brian McCallister wrote:
> Cool. Thank you again for tackling this!
>
> Speaking of libraries not dependent on OJB, the JDOQL compiler is a
> perfect example. OJB depends on it, but it shouldn't depend on OJB.
> You could write an XML:DB query builder against the AST as well =)
I agree that having a separate ojb-query-api (or similar) library could
be useful though I'm not sure whether making it a separate db
sub-project is so, too. Also, I'm not sure whether OQL and JDOQL can
really be combined on the AST level, but if then it would be cool. There
are other candidates, too, e.g. EJBQL3, Soda, etc.
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org