OpenJPA
  1. OpenJPA
  2. OPENJPA-1466

Some JUnit test failures on Oracle backeend

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-beta
    • Component/s: jpa
    • Labels:
      None

      Description

      mvn test failures running against Oracle:

      TestDetachNoStateField.testIsDetchedNoStateManagerZeroVersionField
      <openjpa-2.0.0-SNAPSHOT-rexported fatal store error> org.apache.openjpa.persistence.OptimisticLockException: Unable to obtain an object lock on "ORA-00972: identifier is too long

      {prepstmnt 1989981755 INSERT INTO NoDetachedStateEntityPropertyAccess (ID,VERSION) VALUES (1,0)}

      [code=972, state=42000] [java.lang.String]".

      TestDetachNoStateField.testPersistRelationshipToDetchedEntityZeroVersion
      <openjpa-2.0.0-SNAPSHOT-rexported fatal store error> org.apache.openjpa.persistence.OptimisticLockException: Unable to obtain an object lock on "ORA-00972: identifier is too long

      {prepstmnt 1462856090 INSERT INTO NoDetachedStateEntityPropertyAccess (ID,VERSION) VALUES (1,0)}

      [code=972, state=42000] [java.lang.String]".
      TestTypesafeCriteria.testCurrentTimeReturnsSQLTypes (org.apache.openjpa.persistence.criteria)
      <openjpa-2.0.0-SNAPSHOT-rexported fatal store error> org.apache.openjpa.persistence.RollbackException: The transaction has been rolled back.

        Activity

        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Donald Woods made changes -
        Fix Version/s 2.0.0-beta [ 12314149 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Catalina Wei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Catalina Wei [ fancy ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Resolution Fixed [ 1 ]
        Catalina Wei created issue -

          People

          • Assignee:
            Catalina Wei
            Reporter:
            Catalina Wei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development