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

        There are no comments yet on this 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