[jboss-jira] [JBoss JIRA] Commented: (JBAS-4152) Upgrade to hsql 1.8.0.7 causes org.jboss.test.cmp2.idxandusersql.test.IdxAndUsersqlUnitTestCase::testCMRmn2 to fail

Fernando Nasser (JIRA) jira-events at lists.jboss.org
Wed Sep 5 14:42:14 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4152?page=comments#action_12375454 ] 
            
Fernando Nasser commented on JBAS-4152:
---------------------------------------

We must get this sorted out this time, as the 1.8.0.2 is no longer maintained and being stuck with it means we can't get any other bug fix for HSQLDB (unless we will try and backport DBMS commits ourselves).

If there is something wrong with HSQLDB > 1.8.0.2 and we could propose an example case, we can talk to the HSQLDB fols to get a patch and have it fixed on a 1.8.0.9.

> Upgrade to hsql 1.8.0.7 causes org.jboss.test.cmp2.idxandusersql.test.IdxAndUsersqlUnitTestCase::testCMRmn2 to fail
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-4152
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4152
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>         Environment: BEA JRockit 1.5.0_08 on Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
>            Reporter: Vivek Lakshmanan
>         Assigned To: Heiko W. Rupp
>             Fix For: JBossAS-4.2.2.GA
>
>
> On upgrade of HSQLDB from 1.8.0.2 to 1.8.0.7 the following testcase seems to consistently fail:
> org.jboss.test.cmp2.idxandusersql.test.IdxAndUsersqlUnitTestCase::testCMRmn2
> Error: FKey cmr2_id is indexed
> The test reports say:
> junit.framework.AssertionFailedError: Error: FKey cmr2_id is indexed
> 	at org.jboss.test.cmp2.idxandusersql.test.IdxAndUsersqlUnitTestCase.testCMRmn2(IdxAndUsersqlUnitTestCase.java:190)
> 	at net.sourceforge.junitejb.EJBTestCase.runBare(EJBTestCase.java:133)
> 	at net.sourceforge.junitejb.EJBTestRunnerBean.runTestCase(EJBTestRunnerBean.java:102)
> 	at net.sourceforge.junitejb.EJBTestRunnerBean.run(EJBTestRunnerBean.java:44)
> 	at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
> 	at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
> 	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
> 	at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
> 	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
> 	at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
> 	at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
> 	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
> 	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
> 	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
> 	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
> 	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
> The sourcefile for the test says:
> /*
>     * Look for indices on the m:n mapping table
>     * This is for hsql a strange case, at indices are put there
>     * anyway, but it has been told that other databases don't do
>     * it by themselves, so we check if the creation succeeds.
>     */
> Would like to get an experts opinion on it

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list