Hello Aslak,
Thursday, February 6, 2003, 1:01:23 PM, you wrote:
AH> @weblogic.target-column-map should only be used for unidirectional 1-->N
AH> relationships.
AH> For 1<-->N and 1<--N, use @weblogic.column-map and place the tag on the N
AH> side (RequestBean). Just like you did.
AH> Try to remove @weblogic.target-column-map entirely and see if it works
AH> better for you.
I did it, but it still do not work. When I run weblogic.ejbc I got
this error :
do-bea:
[java] [EJBCompiler] : Recompiling because no previous hashes found
[java] [EJBCompiler] : Compliance Checker said bean was compliant
[java] ERROR: Error from ejbc: Error while reading 'META-INF/weblogic-cmp-r
dbms-jar.xml'. The error was:
[java]
[java] In relationship 'a555', role 'theRequest', invalid column 'idCustome
r', a column-map element contains an invalid key-column. The key-column is not d
efined in the related bean or it's not recognized because of case mismatch.
<weblogic-rdbms-relation>
<relation-name>a555</relation-name>
<weblogic-relationship-role>
<relationship-role-name>theRequest</relationship-role-name>
<relationship-role-map>
<column-map>
<foreign-key-column>THE_CUSTOMER_FK</foreign-key-column>
<key-column>idCustomer</key-column>
</column-map>
</relationship-role-map>
</weblogic-relationship-role>
</weblogic-rdbms-relation>
Looks ok to me.
What can be wrong now ?
--
Best regards,
Danilo mailto:[EMAIL PROTECTED]
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user