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

openjpa-maven-plugin fails with custom strategy

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • tooling
    • None

    Description

      Using an entity-field with a custom @Strategy(*ValueHander) fails with maven-plugin openjpa:sql.

      [INFO] Trace
      <openjpa-2.2.0-r422266:1244990 fatal user error> org.apache.openjpa.util.MetaDataException: Field "at.badgateway.jpa.model.Chair.type" declared custom mapping strategy "at.badgateway.jpa.vh.ExampleValueHandler", but this strategy cannot be instantiated.
      at org.apache.openjpa.jdbc.meta.MappingRepository.namedStrategy(MappingRepository.java:604)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            baumgartner Martin Baumgartner

            Dates

              Created:
              Updated:

              Slack

                Issue deployment