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: OJB 1.0.2 ?
Date Mon, 07 Mar 2005 19:53:30 GMT
hi martin,

i ran the test on it's own and on an initially loaded db.

jakob

Martin Kalén schrieb:
> Jakob Braeuchi wrote:
> 
>> i have a printout of your original post here; but i do not have a 
>> problem ;)
> 
> 
> Weirdness... Strange that both Brian and I get this fault and you don't. 
> I will re-run the tests and do some more checking using different db:s.
> 
> After 1.0.2 release though, since I've seen this before and know it's no 
> new regression.
> 
>  > pg.getAllArticlesInGroup() returns a Vector not a RAC.
> 
> Weirdness once again - I clearly got a RAC as return object. I was even 
> single-stepping through calls into RAC in my debugger.
> 
>> btw. Vector#clear() calls removeAllElements.
> 
> 
> OK good, so then my thread regarding RAC is a no-issue.
> 
> Hmm... just checked the JavaDoc at 
> http://java.sun.com/j2se/1.3/docs/api/java/util/Vector.html#clear() and 
> http://java.sun.com/j2se/1.3/docs/api/java/util/Vector.html#removeAllElements(), 
> and it seems that there is no guarantee for this, if you run on 
> different JVM implementations.
> 
> To rename the RAC-internal clear code to clear() and call this from 
> removeAllElements() would be the safest bet. But since you have 
> refactored things anyway in CVS trunk this might not be applicable at 
> all anymore?
> 
>  Martin
> 
> ---------------------------------------------------------------------
> 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