Hi,

I've created a custom name space and some node types with the super type 
mix:versionable. Having mix:versionable as a super type is not a good idea, 
because all nodes of this type will get a version history at their creation 
which costs repository space and write performance (the better solution would 
be to add mix:versionable if needed).

Now I want to change the node type and can't find a proper solution to do so. 
Removing the mix:versionable super type is a major change (NodeTypeDefDiff), 
which is reasonable cause the existing nodes do know about mix:versionable only 
about their primary node type. Rebuilding the complete repository isn't an 
option either.
If I register a completely new node type, then I have to consider this in all 
queries like "Select * from nt:base where jcr:primaryType = 'myApp:nodeType' or 
jcr:primaryType = 'myApp:newNodeType'.

Is their a better solution for this, like adding a common node type as super 
type for both the new and the old node type? (which don't seem to work)

Kind regards, Robert

Mit freundlichen Grüßen

i. A. Robert Seidel, Software Infrastructure, Senior Professional
--
AEB GmbH
D-23552 Lübeck, Kanalstraße 62-64
Tel. +49-451-2928938-130
Fax +49-451-2928938-333
[email protected]<mailto:[email protected]>
www.aeb.de<http://www.aeb.de>
---
AEB Gesellschaft zur Entwicklung von Branchen-Software mbH
Stammsitz Stuttgart
Registergericht: Amtsgericht Stuttgart, HRB 84 31
Gerichtsstand Stuttgart
Geschäftsführer: Jochen Günzel, Markus Meißner

Reply via email to