DN childDn1 = new DN( "dc=child1,ou=test,ou=system" );
childDn1.normalize( schemaManager.getNormalizerMapping() );
DN childDn2 = new DN( "dc=child2,ou=test,ou=system" );
childDn2.normalize( schemaManager.getNormalizerMapping() );
RDN newRdn = new RDN( SchemaConstants.DC_AT + "=" + "movedChild1" );
MoveAndRenameOperationContext moveAndRenameOpCtx = new MoveAndRenameOperationContext( session, childDn1, childDn2, newRdn, false );
partition.moveAndRename( moveAndRenameOpCtx );