I need some sample source code for CMR 1:n relation deployment with XDoclet. I spent lots of time to figure it out, but it still does not work.
Here is my code in the "one" entity, which results in the following error on deployment: "Mappings were not provided for all fields: unmaped fields=...."
* @jboss:relation-mapping style="foreign-key"
* @jboss:relation fk-constraint="true"
public abstract Set getPrincipalsforRole();
public abstract void setPrincipalsforRole(Set principals);
in the "many" Entity I just wrote
public abstract RolesLocal getRole();
public abstract void setRoles(RolesLocal role);
Can someone help me?