Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1466

Some JUnit test failures on Oracle backeend

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-beta
    • jpa
    • 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.

      Attachments

        Activity

          People

            fancy Catalina Wei
            fancy Catalina Wei
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: