[ http://issues.apache.org/jira/browse/GRFT-104?page=comments#action_12444989 ] Christophe Lombart commented on GRFT-104: -----------------------------------------
It is possible to add the mixin type 'mix:versionable' in the class descriptor like this : <class-descriptor className="org.apache.portals.graffito.jcr.testmodel.A" jcrNodeType="nt:unstructured" jcrMixinTypes="mix:versionable" > <!-- Add here field, bean and collection desctipors --> </class-descriptor> > Support versionning without node type definition > ------------------------------------------------ > > Key: GRFT-104 > URL: http://issues.apache.org/jira/browse/GRFT-104 > Project: Graffito > Issue Type: Improvement > Components: JCR-Mapping > Affects Versions: 1.0-a1-dev > Reporter: Christophe Lombart > Priority: Minor > Fix For: 1.0-a1-dev > > > From Ruchi Goel : > It is possible to perform versioning operations on custom node type but not > on nt:unstructured (without a custom node type definition). The JSR170 spec > allows versioning of a node of type nt:unstructured , by specifying > node.addMixin("mix:versionable") > I want to version a java object mapped to node of type nt:unstructured. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira