You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "David Minor (JIRA)" <ji...@apache.org> on 2009/07/30 20:29:14 UTC

[jira] Created: (OPENJPA-1212) Data cache has problem with @Factory field which converts from array

Data cache has problem with @Factory field which converts from array
--------------------------------------------------------------------

                 Key: OPENJPA-1212
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1212
             Project: OpenJPA
          Issue Type: Bug
          Components: datacache
    Affects Versions: 1.2.1
            Reporter: David Minor


If a field with an externalizer/factory converts from an array (for instance the field has @Type(byte[].class)), the method AbstractPCData.toData() believes it is dealing with an array, when the value is actually whatever the factory produces. An exception is thrown attempting to determine the array length.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.