jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Short <...@benshort.co.uk>
Subject OCM
Date Fri, 23 Oct 2009 07:58:08 GMT
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

Mime
View raw message