04-24-07 12:22 PM
I have some problems when develop a IBM internal project which need to use t
he Portal JCR,because it will run on Portal.
Portal JCR seems not compliant with the JSR 170 standard.
When I create a versionable node, how can I set the property in the node?
After the some version are saved, how can I retreive all the content in thos
e versions?
I am trying to use the way how it can be implemented in JSR 170 standard, bu
t can't work.
Here is some of my code:
node.checkout();
node.setProperty("content", value);
node.save();
node.checkin();
I got the exception: javax.jcr.nodetype.ConstraintViolationException: Proper
ty Definition not found.
Anybody know anything about this?
Thanks in advance.
[ Post a follow-up to this message ]
|