You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "garpinc (JIRA)" <ji...@apache.org> on 2012/09/02 19:49:07 UTC

[jira] [Created] (OPENJPA-2256) Can't seem to get FieldStrategies to work as described

garpinc created OPENJPA-2256:
--------------------------------

             Summary: Can't seem to get FieldStrategies to work as described
                 Key: OPENJPA-2256
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2256
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: garpinc


Was trying to use FieldStrategies to handle a property with a class that is Unmanaged. But both in collection and as singlevalued entity it doesn't seem to take effect.

I've added a test case here as a follow up of:
http://openjpa.208410.n2.nabble.com/javax-persistence-ElementCollection-instead-of-org-apache-openjpa-persistence-PersistentCollection-In-td7580963.html

--
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-2256) Can't seem to get FieldStrategies to work as described

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

garpinc updated OPENJPA-2256:
-----------------------------

    Attachment:     (was: valuehandlertestcase.zip)
    
> Can't seem to get FieldStrategies to work as described
> ------------------------------------------------------
>
>                 Key: OPENJPA-2256
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2256
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: garpinc
>
> Was trying to use FieldStrategies to handle a property with a class that is Unmanaged. But both in collection and as singlevalued entity it doesn't seem to take effect.
> I've added a test case here as a follow up of:
> http://openjpa.208410.n2.nabble.com/javax-persistence-ElementCollection-instead-of-org-apache-openjpa-persistence-PersistentCollection-In-td7580963.html

--
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-2256) Can't seem to get FieldStrategies to work as described

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

garpinc updated OPENJPA-2256:
-----------------------------

    Attachment: valuehandlertestcase.zip

Here is fixed test case..
1) Without persistence.xml the testMasterDetail will fail and I'd like it to exhibit the same 2.0 behaviour with just config rather that it having to have that file in place.
2) the other testcases that fail are self explanatory
                
> Can't seem to get FieldStrategies to work as described
> ------------------------------------------------------
>
>                 Key: OPENJPA-2256
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2256
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: garpinc
>         Attachments: valuehandlertestcase.zip
>
>
> Was trying to use FieldStrategies to handle a property with a class that is Unmanaged. But both in collection and as singlevalued entity it doesn't seem to take effect.
> I've added a test case here as a follow up of:
> http://openjpa.208410.n2.nabble.com/javax-persistence-ElementCollection-instead-of-org-apache-openjpa-persistence-PersistentCollection-In-td7580963.html

--
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-2256) Can't seem to get FieldStrategies to work as described

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

garpinc updated OPENJPA-2256:
-----------------------------

    Attachment: valuehandlertestcase.zip
    
> Can't seem to get FieldStrategies to work as described
> ------------------------------------------------------
>
>                 Key: OPENJPA-2256
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2256
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: garpinc
>         Attachments: valuehandlertestcase.zip
>
>
> Was trying to use FieldStrategies to handle a property with a class that is Unmanaged. But both in collection and as singlevalued entity it doesn't seem to take effect.
> I've added a test case here as a follow up of:
> http://openjpa.208410.n2.nabble.com/javax-persistence-ElementCollection-instead-of-org-apache-openjpa-persistence-PersistentCollection-In-td7580963.html

--
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