db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: [JDO] Help Needed!
Date Thu, 02 Sep 2004 11:16:40 GMT
hi brian,



Brian McCallister schrieb:
> Hi again all. As lots of people said they wanted to help work on JDO 
> stuff, some things we need which are somewhat autonomous:
> 
> 
> Support for equals criteria which matches object identity, so:
> 
> criteria.addEqualTo("objectReferenceOnCandidate", myWombat);
> 
> which will generate the correct code to match pk/fk
> 

imo there are two solutions to this problem:

1.) construct the standard-criteria based on pk and pk-values (like we do for 
query-by-example)
2.) use a special identity- or reference-criteria that translates into a series 
of pk1=value1 etc. when building the sql-statement.

jakob
> 

> 
> Support for a contains criteria:
> 
> criteria.addContains("collectionOnCandidate", myWombat);
> 
> which will generate correct where criteria. This one will be fun. This 
> will need to support object identity based query building like the 
> object reference equals.
> 
> 
> 
> Fetch Groups:
> 
> Read the JDO spec for explanation of this one. Is good stuff. Basically 
> override of proxy settings in our terms on a per-query basis.
> 
> 
> 
> JDO 2.0 Style mapping definitions:
> 
> Read the JDo spec for this one. Basically an alternate way of defining 
> mappings.
> 
> 
> Any help on these is greatly appreciated! Thank you!
> 
> -Brian
> 
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message