> Are you saying that forcing the read of all root children is an > *unintended* effect of "builder.setProperty(JCR_PRIMARYTYPE, NT_REP_ROOT, > Type.NAME);"? > > Is there anything that can be configured or overridden to combat this side > effect?
Well, I didn't write a test to actually see this, but in the whole initialize method, that line seems like the only candidate that should be "changing" anything - other ones are already guarded to be working well in a pre-initialized repository afaics. Thanks, Vikas