Hi,

Given the simple code that follows is it possible to tell the
ObjectContentManager via the annotations to create any parent nodes in
the path automatically?

@Node
public class Person {

        @Field(path=true)
        private String path;

        // setters and getters omitted for brevity

}

Person p = new Person();

p.setPath("/contacts/work/person1");

ocm.insert(p);

ocm.save();

Regards

Ben Short

Reply via email to