persistence@glassfish.java.net

Re: testPessimisticLockHintStartsTransaction fails on Derby

From: Tom Ware <tom.ware_at_oracle.com>
Date: Thu, 26 Jul 2007 13:04:38 -0400

The readme has been updated.

-Tom

Sahoo wrote:

> This test in entity-persistence-tests fails on Derby. It appears to be
> a known failure. Can the readme.txt be updated with known failures?
>
> Testcase: testPessimisticLockHintStartsTransaction took 0.001 sec
> FAILED
> Warning: DerbyPlatform does not currently support pessimistic locking
> junit.framework.AssertionFailedError: Warning: DerbyPlatform does not
> currently
> support pessimistic locking
> at
> oracle.toplink.essentials.testing.tests.cmp3.advanced.EntityManagerJUnitTestSuite.testPessimisticLockHintStartsTransaction(EntityManagerJUnitTestSuite.java:4010)
>
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
>
> Thanks,
> Sahoo