Ramesh Devaraj wrote:
Hi
I have custom node definition say
[X] > nt: base
+ Y
Using the above custom node definition I have create some node and saved in the database. But in the later stage I have changed the custom node definition to
[X] > nt: base
+ Y
+ Z
Now how can I upgrade the node definition in the database according to new
custom node definition?
See: http://comments.gmane.org/gmane.comp.apache.jackrabbit.devel/7805
Basically you can use NodeTypeRegistry.reregister() to change existing node
types.
Cheers,
Christoph