// creating <nodeCount> x <childNodeCount> nodes with vanity
for (int j = 0; j < nodeCount; j++) {
Node content = rootNode.addNode("a" + j, JcrConstants.NT_UNSTRUCTURED);
String s = new BigInteger(130, random).toString(32);
content.addMixin(NT_VANITY_PATH);
content.setProperty(PN_VANITY_PATH, s);
for (int k = 0; k < childNodeCount; k++) {
Node content2 = content.addNode("b" + k, JcrConstants.NT_UNSTRUCTURED);
String ss = new BigInteger(130, random).toString(32);
content2.addMixin(NT_VANITY_PATH);