2)Versant数据库能够直接支持复杂的对象间的关系html
以下的代码中展现了一个两层的关系结构。数据库
public void addFriend( Person p ){this
friends.add(p);spa
addRelation(p);htm
p.getFriends().add(this);对象
}get
若须要了解其解决方案,请点击:http://wenku.baidu.com/view/f6b9081ba76e58fafab00343.html?st=1
io
若须要了解所有代码请回帖。rsa