If I run these slightly changed (to make it work without the classes that you didn't post) classes, there is no error and the repository_user.xml file is generated correctly:

/**
* @ojb.class table="MEMBERSHIPS"
*/
public class MembershipImpl {

/**
 * @ojb.field column="AGROUP"
 *            jdbc-type="INTEGER"
 *            primarykey="true"
 *            required="true"
 */
private Integer groupId = null;

/**
 * @ojb.field column="MEMBER"
 *            jdbc-type="INTEGER"
 *            primarykey="true"
 *            required="true"
 */
private Integer memberId = null;

/**
 * @ojb.reference class-ref="ContributorImpl"
 *                foreignkey="memberId"
 *                nullable="false"
 */
private ContributorImpl member;
}

import java.util.*;

/**
* @ojb.class table="CONTRIBUTORS"
*/

public class ContributorImpl {

/**
 * @ojb.field column="ID"
 *            jdbc-type="INTEGER"
 *            primarykey="true"
 *            required="true"
 */
private Integer id = null;

/**
 * @ojb.field column="CLASS"
 *            jdbc-type="VARCHAR"
 *            length="60"
 *            nullable="false"
 */
private String ojbConcreteClass;

/**
 * @ojb.collection element-class-ref="MembershipImpl"
 *                 foreignkey="memberId"
 *                 orderby="groupId"
 *                 proxy="true"
 */
private List/*<MembershipImpl>*/ groups = new ArrayList(1);
}


Now, what I find strange is that none of the snippets that you posted was actually using a ManageableCollection, neither in code nor in the XDoclet comment, so why should XDoclet try to search for it ?


Tom


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



Reply via email to