[ https://issues.apache.org/jira/browse/JCR-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523960 ]
Padraic Hannon commented on JCR-1100: ------------------------------------- I currently have this working for persistence using cglib. However, it requires moving away from pojo's and requires having interfaces defined to create the proxy dynamically. I can upload diffs with the code, however, I think the solution would be to not have to resort to creating interfaces for everything. > Support for dynamic mixins > -------------------------- > > Key: JCR-1100 > URL: https://issues.apache.org/jira/browse/JCR-1100 > Project: Jackrabbit > Issue Type: New Feature > Components: jcr-mapping > Affects Versions: 1.3.1 > Reporter: Padraic Hannon > > JCR allows one to add mixins to nodes dynamically. However, within the ocm > code one cannot readily add mixins dynamically to objects. This feature would > allow jcr nodes to be updated with a mixin and ocm to read that node and > ensure an object is created correctly. Additionally for a passed in object > upon storage the ocm would inspect it and ensure all mixed in object fields > are added to the class descriptor. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.