Hi, JCROM supports weak references as show in the following classes
public class Person {
@JcrPath
private String path;
@JcrName
private String name;
@JcrReference(byPath = true)
private List<Pet> pets= new ArrayList<Pet>();
}
public class Pet {
@JcrPath
private String path;
@JcrName
private String name;
}
This will result in a property on person node which contains a list of
paths to the pet nodes.
Does jackrabbit-ocm support this?
Regards
Ben Short
