You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ol...@ppi.de on 2003/08/22 09:57:43 UTC
junit test failures
Hello,
Currently, there are several junit tests failing on my machine:
otm:
testSwizzle3
odmg:
testAdding, testRemoving, testMtoNSeparate_II
Can I compare these results to the 'official' ones?
The link http://db.apache.org/ojb/junit-report.html
on http://db.apache.org/ojb/maven-reports.html is broken.
Olli
--
Dr. Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone +49 (0) 43 1-53 53-422
fax +49 (0) 43 1-53 53-2 22
email mailto:oliver.matz@ppi.de
web www.ppi.de
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org
Re: LockNotGrantedException...
Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi,
----- Original Message -----
From: "Frédéric Trifiro" <ft...@yahoo.fr>
To: "OJB Developers List" <oj...@db.apache.org>
Sent: Friday, August 22, 2003 10:29 AM
Subject: LockNotGrantedException...
> Hi,
>
> I have a serious problem with a
> LockNotGrantedException when i try to lock an object
> within a transaction. Can someone tell me in which
> conditions this error occured ??
>
should only occur if the passed object is already
locked (e.g. by another thread)
regards,
Armin
> Thanks, Fred
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> ---------------------------------------------------------------------
> 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
Re: Still my update problem but...
Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi Fred,
try to call tx.join() in your Action class to
associate the current thread with this tx.
Please send "usage questions" to the user-list
(to help user with same problems). Thanks.
regards,
Armin
----- Original Message -----
From: "Frédéric Trifiro" <ft...@yahoo.fr>
To: "OJB Developers List" <oj...@db.apache.org>
Sent: Friday, August 22, 2003 11:36 AM
Subject: Still my update problem but...
> Hi again,
>
> I think i finally understand my problem. So i have a
> new and more simple question. I hope someone will help
> me... I'm using Struts...
>
> Is it possible to lock an object within a transaction
> in an Action Class that prepares a JSP file and to
> commit this transaction in the Action Class that
> receives datas from the JSP file... In the facts, it
> seems i loose my transaction...
>
> If not, what advice could you give me to update my
> object properly ?
>
> Thanks in adance, Fred
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> ---------------------------------------------------------------------
> 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
Still my update problem but...
Posted by Frédéric Trifiro <ft...@yahoo.fr>.
Hi again,
I think i finally understand my problem. So i have a
new and more simple question. I hope someone will help
me... I'm using Struts...
Is it possible to lock an object within a transaction
in an Action Class that prepares a JSP file and to
commit this transaction in the Action Class that
receives datas from the JSP file... In the facts, it
seems i loose my transaction...
If not, what advice could you give me to update my
object properly ?
Thanks in adance, Fred
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org
LockNotGrantedException...
Posted by Frédéric Trifiro <ft...@yahoo.fr>.
Hi,
I have a serious problem with a
LockNotGrantedException when i try to lock an object
within a transaction. Can someone tell me in which
conditions this error occured ??
Thanks, Fred
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org