Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5553

Fail to enchance entities on Geronimo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 3.0.0
    • 3.0.0
    • persistence
    • Security Level: public (Regular issues)
    • None
    • OS:win xp
      Geronimo :3.0 20100824 build

    Description

      I tried to deploy a simple jpa sample on geronimo.But when persist data into database.
      Following exception will occur.

      <openjpa-2.0.0-r422266:935683 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Attempt to cast instance "org.apache.sample.entities.Book@97781f" to PersistenceCapable failed. Ensure that it has been enhanced.
      FailedObject: org.apache.sample.entities.Book@97781f

      Attachments

        1. booknew.war
          9 kB
          Lu Jiang

        Issue Links

          Activity

            People

              rickmcguire Richard McGuire
              jessy Lu Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: