Hello.

 I have a CMP entity bean (CommandItem) and a BMP entity bean (Product) and want to 
declare a unidirectional relationship from CommandItem to Product (a CommandItem 
comprises a Product). I have declared the relationship in ejb-jar.xml but I got an 
exception at deployment time. It says that "entity Product not found in relation". Is 
this because Product is using BMP? As far as the database mapping is concerned, I use 
Oracle8i, and I have a foreign key in the CommandItems table, pointing to a product in 
the Products table.
 Is there any workaround for this? Should I also declare the relation in 
jbosscmp-jdbc.xml?

 Thank you very much

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843404#3843404

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843404


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to