Properties from parent class should be mapped as well
-----------------------------------------------------

                 Key: SEAMJCR-21
                 URL: https://issues.jboss.org/browse/SEAMJCR-21
             Project: Seam JCR
          Issue Type: Enhancement
          Components: OCM
    Affects Versions: 3.0.0.Beta1
            Reporter: Simon Gunzenreiner


OCMMappingStore.map() currently does not map inherited fields, due to 
considering only fields defined on the given class. I suggest to use  
clazz.getFields() instead of clazz.getDeclaredFields().

Also, this behaviour is not in-line with the usage of clazz.getMethods(), which 
takes into account the accessor methods of parent classes (correct behaviour).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to