db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McCallister <mccallis...@forthillcompany.com>
Subject Re: [JDO] Help Needed!
Date Thu, 02 Sep 2004 12:55:32 GMT
On Sep 2, 2004, at 7:16 AM, Jakob Braeuchi wrote:

> 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.

Either way works for me -- you know that end of OJB a whole lot better 
than I do =)

If I implemented it, I would probably approach  it as a 
reference-criteria implemented internally using standard-criteria and 
pk=value. I don't think this is necessarily better, but is how I tend 
to think.


To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message