Hi,

  I'm trying to get together a 1-1 unidirectional relationalship using
JBoss3. I've tried using the following tags:

/**
 *  @ejb:relation 
 *      name="BasketItem-Product"
 *      role-name="basketitem-refersto-product"
 *      target-ejb="Product"
 *      target-role-name="product-refersto-basketitem"
*/

..and certainly nothing on the other side. This compiles, deploys, and at
runtime, JBoss3's container tries to execute queries like this one:

SELECT  FROM product WHERE (id=7)

which leads to an sql error, and ofc a transaction rollback. I'm not sure,
whether it's JBoss's fault generating sql queries with bad sql syntax, or
mine, not using the right XDoclet tags.. but anyway, anyone can show me, how
to properly define 1-1 unidirectional relationships with xdoclet?

thanks much,
Christopher
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to