You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Martin Baumgartner (JIRA)" <ji...@apache.org> on 2012/10/04 16:27:47 UTC

[jira] [Created] (OPENJPA-2273) openjpa-maven-plugin fails with custom strategy

Martin Baumgartner created OPENJPA-2273:
-------------------------------------------

             Summary: openjpa-maven-plugin fails with custom strategy
                 Key: OPENJPA-2273
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2273
             Project: OpenJPA
          Issue Type: Bug
          Components: tooling
    Affects Versions: 2.2.0
            Reporter: Martin Baumgartner


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



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (OPENJPA-2273) openjpa-maven-plugin fails with custom strategy

Posted by "Martin Baumgartner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Baumgartner updated OPENJPA-2273:
----------------------------------------

    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)


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



    
> openjpa-maven-plugin fails with custom strategy
> -----------------------------------------------
>
>                 Key: OPENJPA-2273
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2273
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.2.0
>            Reporter: Martin Baumgartner
>         Attachments: strategytest.jar
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (OPENJPA-2273) openjpa-maven-plugin fails with custom strategy

Posted by "Martin Baumgartner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Baumgartner updated OPENJPA-2273:
----------------------------------------

    Attachment: strategytest.jar
    
> openjpa-maven-plugin fails with custom strategy
> -----------------------------------------------
>
>                 Key: OPENJPA-2273
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2273
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 2.2.0
>            Reporter: Martin Baumgartner
>         Attachments: strategytest.jar
>
>
> Using an entity-field with a custom @Strategy(*ValueHander) fails with maven-plugin openjpa:sql. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira