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 Edson Carlos Ericksson Richter <ed...@mgrinformatica.com.br> on 2003/07/07 22:15:26 UTC
Typo in PersistenceBroker?
I'm mostly using getCollectionByQuery( Query ) that returns a collection.
Now, I'm trying to use getCollectionByQuery( Class collectionClass, Query
query ), but this one returns a ManageableCollection. Should not this
returns a Collection?
Thanks,
Edson Richter
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.497 / Virus Database: 296 - Release Date: 4/7/2003
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Typo in PersistenceBroker?
Posted by Edson Carlos Ericksson Richter <ed...@mgrinformatica.com.br>.
Yes, thanks, Armin.
I've made a research, and even docs direct us to use the Query as parameter,
with null for second parameter when no criteria (get all).
Thanks.
----- Original Message -----
From: "Armin Waibel" <ar...@code-au-lait.de>
To: "OJB Users List" <oj...@db.apache.org>
Sent: Monday, July 07, 2003 9:25 PM
Subject: Re: Typo in PersistenceBroker?
----- Original Message -----
From: "Edson Carlos Ericksson Richter"
<ed...@mgrinformatica.com.br>
To: "'OJB Users List'" <oj...@db.apache.org>
Sent: Monday, July 07, 2003 10:15 PM
Subject: Typo in PersistenceBroker?
> I'm mostly using getCollectionByQuery( Query ) that returns a
collection.
> Now, I'm trying to use getCollectionByQuery( Class collectionClass,
Query
> query ), but this one returns a ManageableCollection. Should not this
> returns a Collection?
I don't think so. This method explicitly returns ManageableCollections
instances and the first parameter is the class name of the
ManageableCollection implementation.
regards,
Armin
>
> Thanks,
>
> Edson Richter
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.497 / Virus Database: 296 - Release Date: 4/7/2003
>
>
> ---------------------------------------------------------------------
> 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
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.497 / Virus Database: 296 - Release Date: 4/7/2003
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Typo in PersistenceBroker?
Posted by Armin Waibel <ar...@code-au-lait.de>.
----- Original Message -----
From: "Edson Carlos Ericksson Richter"
<ed...@mgrinformatica.com.br>
To: "'OJB Users List'" <oj...@db.apache.org>
Sent: Monday, July 07, 2003 10:15 PM
Subject: Typo in PersistenceBroker?
> I'm mostly using getCollectionByQuery( Query ) that returns a
collection.
> Now, I'm trying to use getCollectionByQuery( Class collectionClass,
Query
> query ), but this one returns a ManageableCollection. Should not this
> returns a Collection?
I don't think so. This method explicitly returns ManageableCollections
instances and the first parameter is the class name of the
ManageableCollection implementation.
regards,
Armin
>
> Thanks,
>
> Edson Richter
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.497 / Virus Database: 296 - Release Date: 4/7/2003
>
>
> ---------------------------------------------------------------------
> 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: Typo in PersistenceBroker?
Posted by Edson Carlos Ericksson Richter <ed...@mgrinformatica.com.br>.
More, should not ManageableCollection extends Collection???
Actually (cvs HEAD) this extends only Serializable (?!?!).
My2c,
Edson Richter
----- Original Message -----
From: "Edson Carlos Ericksson Richter" <ed...@mgrinformatica.com.br>
To: "'OJB Users List'" <oj...@db.apache.org>
Sent: Monday, July 07, 2003 5:15 PM
Subject: Typo in PersistenceBroker?
I'm mostly using getCollectionByQuery( Query ) that returns a collection.
Now, I'm trying to use getCollectionByQuery( Class collectionClass, Query
query ), but this one returns a ManageableCollection. Should not this
returns a Collection?
Thanks,
Edson Richter
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.497 / Virus Database: 296 - Release Date: 4/7/2003
---------------------------------------------------------------------
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