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

openjpa-maven-plugin fails with custom strategy

    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

        1. strategytest.jar
          8 kB
          Martin Baumgartner

        Activity

          People

            Unassigned Unassigned
            baumgartner Martin Baumgartner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: