Hi Antonio,

I have implemented your test case with minor changes
see:
src/test/org/apache/ojb/odmg/Site
src/test/org/apache/ojb/odmg/UserTestCases.java

After a uphill struggle with OJB I found a bug
in the PBImpl#close method. Now the test case
passed well. I currently checked in that fix in CVS.

Check out the new files or
workaround:
add in PersistenceBrokerImpl#close() method
this.inTransaction = false;
before the 'this.setClosed(true)' line.
(Should work with 0.9x versions)

Hope this solve your problem.

regards,
Armin


----- Original Message -----
From: "Antonio Rito-Silva" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Cc: "Armin Waibel" <[EMAIL PROTECTED]>
Sent: Tuesday, October 01, 2002 8:17 PM
Subject: RE: Commit/Abort bug (still exists in OJB 0.9.6)


> Jason,
>
> We still have the same problem and Armin Waibel is helping us.
> We have just sent him a test case.
>
> What database are you using?
>
> Cheers,
> Antonio
> ----
> Antonio Rito-Silva - [EMAIL PROTECTED] -
> http://www.esw.inesc-id.pt/~ars
> INESC-ID Software Engineering Group - Technical University of Lisbon
>
>
> >-----Original Message-----
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> >Sent: segunda-feira, 30 de Setembro de 2002 20:48
> >To: [EMAIL PROTECTED]
> >Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> >Subject: Re: Commit/Abort bug (still exists in OJB 0.9.6)
> >
> >
> >I just downloaded the latest 0.9.6 release, and I am still
experiencing the
> >problem documented at the link below.  Although the exceptions have
> >manifested themselves a little differently in this release, my app
cannot
> >recover from a call to Transaction.abort().  I can provide more
details if
> >needed.  If anyone has any experience at all on how to correct this,
PLEASE
> >let me know.  We have to work around it for a deliverable, and I'm
> >considering dropping OJB from our project (not just due to this
problem but
> >also the threading issues that I have inquired about via the listserv
over
> >the past couple of days)...
> >
> >http://archives.apache.org/eyebrowse/ReadMsg?listId=107&msgNo=2090
> >
> >Thanks in advance,
> >Jason
> >
> >
> >--
> >To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to