OpenJPA
  1. OpenJPA
  2. OPENJPA-1263

TestReaderLob.testUpdateWithNull() fails on MySQL

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.2.0, 1.2.1, 1.3.0
    • Fix Version/s: 1.3.0, 2.0.0-beta
    • Component/s: jdbc
    • Labels:
      None
    • Environment:
      Windows XP
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
      MySQL: 5.1.37-community MySQL Community Server (GPL)

      Description

      the case failed with:
      testUpdateWithNull(org.apache.openjpa.jdbc.meta.strats.TestReaderLob) Time elapsed: 0.11 sec <<< FAILURE!
      junit.framework.AssertionFailedError
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at junit.framework.Assert.assertNull(Assert.java:233)
      at junit.framework.Assert.assertNull(Assert.java:226)
      at org.apache.openjpa.jdbc.meta.strats.AbstractLobTest.testUpdateWithNull(AbstractLobTest.java:136)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at junit.framework.TestCase.runBare(TestCase.java:127)
      at org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:490)
      at org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:466)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.run(AbstractPersistenceTestCase.java:168)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

        Issue Links

          Activity

          Amy Yang created issue -
          Amy Yang made changes -
          Field Original Value New Value
          Priority Major [ 3 ] Minor [ 4 ]
          Amy Yang made changes -
          Link This issue is related to OPENJPA-525 [ OPENJPA-525 ]
          Milosz Tylenda made changes -
          Link This issue is part of OPENJPA-1248 [ OPENJPA-1248 ]
          Milosz Tylenda made changes -
          Fix Version/s 2.0.0-M4 [ 12314149 ]
          Affects Version/s 1.2.1 [ 12313328 ]
          Affects Version/s 1.2.0 [ 12313102 ]
          Affects Version/s 1.3.0 [ 12313326 ]
          Hide
          Milosz Tylenda added a comment -

          Works correctly, probably after changes made under OPENJPA-1248.

          Show
          Milosz Tylenda added a comment - Works correctly, probably after changes made under OPENJPA-1248 .
          Milosz Tylenda made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Milosz Tylenda added a comment -

          The change has been back-ported to branch 1.3.x.

          Show
          Milosz Tylenda added a comment - The change has been back-ported to branch 1.3.x.
          Milosz Tylenda made changes -
          Fix Version/s 1.3.0 [ 12313326 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Amy Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development