You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by David Forslund <fo...@mail.com> on 2005/10/03 15:57:35 UTC

Re: Query by Example

Is there a way to do Query By Example with OJB?   I would like to 
partially instantiate the variables (including collections) in an object 
and have
OJB return to me all objects which match that example.

Thanks,

Dave


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


Re: Query by Example

Posted by Thomas Dudziak <to...@gmail.com>.
On 10/3/05, David Forslund <fo...@mail.com> wrote:
> This example seems to be in the CVS version of QueryTest but not in
> version 1.0.3.   Can I assume, though, that it works even though there
> is no test for it in 1.0.3?

Seems that in the 1.0.x branch, the only test using QueryByExample is
the MetadataMultithreadedTest, though you can also check the tutorial
for the PB-Api (http://db.apache.org/ojb/docu/tutorials/pb-tutorial.html).

Tom

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


Re: Query by Example

Posted by David Forslund <fo...@mail.com>.
This example seems to be in the CVS version of QueryTest but not in 
version 1.0.3.   Can I assume, though, that it works even though there 
is no test for it in 1.0.3?

Thanks,

Dave
Jakob Braeuchi wrote:

> hi david,
>
> yes there is a basic query by example. see QueryTest testByExample.
>
> jakob
>
> David Forslund schrieb:
>
>> Is there a way to do Query By Example with OJB?   I would like to 
>> partially instantiate the variables (including collections) in an 
>> object and have
>> OJB return to me all objects which match that example.
>>
>> Thanks,
>>
>> Dave
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>



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


Re: Query by Example

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi david,

yes there is a basic query by example. see QueryTest testByExample.

jakob

David Forslund schrieb:
> Is there a way to do Query By Example with OJB?   I would like to 
> partially instantiate the variables (including collections) in an object 
> and have
> OJB return to me all objects which match that example.
> 
> Thanks,
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 

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