This is a bug that has been fixed in the CVS version. If you try the 
CVS version, beware that it's a bit unstable at the moment.

Aslak

----- Original Message -----
From: "Shaw, Chris" <[EMAIL PROTECTED]>
Date: Friday, May 3, 2002 8:22 am
Subject: [Xdoclet-user] WebLogic problem

> Hi (using v1.1.2)
> 
> I have 2 Beans... Department which has 1-M Employees.
> 
> In my Employee Bean I have:
>    /**
>     * Department of this Employee
>     *
>     * @return department of this Employee
>     *
>     * @ejb:interface-method view-type="local"
>     * @ejb:relation
>     *    name="department-employee"
>     *    role-name="many-employees-have-one-department"
>     *
>     * @weblogic:relation
>     *    name="department-employee"
>     *    key-column="deptno"
>     *    foreign-key-column="department_fk"
>     *
>     * @jboss:relation
>     *    related-pk-field="deptno"
>     *    fk-column="department_fk"
>     */
>    public abstract DepartmentLocal getDepartment();
> 
> and in my Department Bean I have:
>    /**
>     * Employees of this Employee
>     *
>     * @return employees of this Employee
>     *
>     * @ejb:interface-method view-type="local"
>     * @ejb:relation
>     *    name="department-employee"
>     *    role-name="one-department-has-many-employees"
>     *
>     * @weblogic:relation
>     *    name="department-employee"
>     */
>    public abstract java.util.Collection getEmployees();
> 
> In JBoss 3 RC1 this works perfectly without any problem .... but in
> WebLogic6.1 it won't even deploy, I get the following error:
> 
>    Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The 
> errorwas:
>    many-employees-have-one-department: In a Many-to-One 
> Relationship, the
> Many Role in weblogic-cmp-rdbms-jar.xml must contain a <column-
> map> for the
> <foreign-key-column>.
> 
> Any idea why this works in JBoss but not in WebLogic?
> 
> Many TIA 
> 
> Chris
> -=-=-
> 
> Any e-mail message from the European Central Bank (ECB) is sent in 
> good faith but shall neither be binding nor construed as 
> constituting a commitment by the ECB except where provided for in 
> a written agreement.
> This e-mail is intended only for the use of the recipient(s) named 
> above. Any unauthorised disclosure, use or dissemination, either 
> in whole or in part, is prohibited.
> If you have received this e-mail in error, please notify the 
> sender immediately via e-mail and delete this e-mail from your system.
> 
> 
> _______________________________________________________________
> 
> Have big pipes? SourceForge.net is looking for download mirrors. 
> We supply
> the hardware. You get the recognition. Email Us: 
> 
[EMAIL PROTECTED]
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to