http://db.apache.org/ojb/tutorial3.html#types%20allowed%20for%20implementing%201:n%20associations

Maksimenko Alexander wrote:
Hi! I want to persist followed object :

public class User{
private java.util.Set roleSet; }


This is the part of my repository.xml

<collection-descriptor
name="roleSet"
element-class-ref="core.Role"
indirection-table="USER_ROLE"
proxy="true"
auto-update="true"
>
While materialization, OJB attempts to set roleSet property by org.apache.ojb.broker.accesslayer.ListProxy instance and so org.apache.ojb.broker.metadata.MetadataException arises. How can I solve this problem?





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to