[ http://issues.apache.org/jira/browse/JDO-63?page=all ] Michael Bouschen reopened JDO-63: ---------------------------------
> Test ExecutingMultipleQueriesSimultaneouslyIsThreadSafe fails because it > executes queries outside transactions. > --------------------------------------------------------------------------------------------------------------- > > Key: JDO-63 > URL: http://issues.apache.org/jira/browse/JDO-63 > Project: JDO > Type: Bug > Components: tck20 > Environment: JPOX > Reporter: Craig Russell > Assignee: Michael Watzek > > test(org.apache.jdo.tck.query.ExecutingMultipleQueriesSimultaneouslyIsThreadSafe)junit.framework.AssertionFailedError: > Assertion A14.3-2 (ExecutingMultipleQueriesSimultaneouslyIsThreadSafe) > failed: > [java] Thread Thread[ThreadID-3,5,]: uncaught exception > org.jpox.exceptions.TransactionNotActiveException: Transaction is not active. > You either need to define a transaction around this, or run your > PersistenceManagerFactory with 'NontransactionalRead' set to 'true' > [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:510) > [java] at > org.apache.jdo.tck.query.ExecutingMultipleQueriesSimultaneouslyIsThreadSafe.executeMultipleQueries(ExecutingMultipleQueriesSimultaneouslyIsThreadSafe.java:123) > [java] at > org.apache.jdo.tck.query.ExecutingMultipleQueriesSimultaneouslyIsThreadSafe.test(ExecutingMultipleQueriesSimultaneouslyIsThreadSafe.java:70) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:181) > [java] at > org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:112) > [java] at > org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:90) > [java] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
