Thomas Dudziak wrote:
[..]
I tried ojb-blank with a basic ojb.collection tag with ManageableArrayList as the collection-class, and it worked. Same when I declared the variable to be of type ManageableCollection.
I'd say you have a problem either with your classpath
I can't imagine what would be the problem. I've started with a plain ojb-blank.jar. And with rc6, there was no problem.
or with your ojb.collection tag.
Seems to more probable.
Could you post a code snippet with the ojb.collection tag in question ?
Ok. I hope, it's not too much
/** * @ojb.class table="CONTRIBUTORS" */
public class ArtistImpl extends ContributorImpl implements Artist {
[.. no attributes ..]And up the hierarchy:
/** * @ojb.class generate-table-info="false" */
public abstract class ContributorImpl extends BusinessObjectImpl implements Contributor {
/** * @ojb.field column="CLASS" * jdbc-type="VARCHAR" * length="60" * nullable="false" */ private String ojbConcreteClass;
/**
* @ojb.collection element-class-ref="org.metamusic.core.impl.MembershipImpl"
* foreignkey="memberId"
* orderby="groupId"
* proxy="true"
*/
private List/*<MembershipImpl>*/ groups = new ArrayList(1);
And the top:
/** * @ojb.class generate-table-info="false" */
public abstract class BusinessObjectImpl extends PersistentObjectImpl implements BusinessObject {
The type referred by groups:
/** * @ojb.class table="MEMBERSHIPS" */
public class MembershipImpl extends PersistentObjectImpl {/** * @ojb.field column="AGROUP" * jdbc-type="INTEGER" * primarykey="true" * required="true" */ private Integer groupId = null;
/** * @ojb.reference class-ref="org.metamusic.core.impl.GroupImpl" * foreignkey="groupId" * nullable="false" */ private Group group;
/** * @ojb.field column="MEMBER" * jdbc-type="INTEGER" * primarykey="true" * required="true" */ private Integer memberId = null;
/** * @ojb.reference class-ref="org.metamusic.core.impl.ContributorImpl" * foreignkey="memberId" * nullable="false" */ private Contributor member;
Thanks for your help -- Christian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
