On Mon, 2003-11-10 at 19:34, Alexey Loubyansky wrote:
> I would remove about 80% of XDoclet tags first.
>
> 1. you don't have to copy them for setters if you have them for getters.
> 2. remove @jboss.target-relation
>
OK, I've done what you referred in issues #1 and #2:
/**
* @ejb.interface-method
* view-type="local"
* @ejb.relation
* name="service_TO_primitive"
* role-name="service_CALLS_primitive"
* cascade-delete="no"
* target-ejb="Primitive"
* target-role-name="primitive_IS_CALLED_BY_service"
* target-cascade-delete="no"
* target-multiple="no"
* @ejb.value-object
* aggregate="pt.ptinovacao.nginpro.uif.ejb.access.PrimitiveValue"
* aggregate-name="primitive"
* relation="external"
* @jboss.relation
* related-pk-field="primitiveId"
* fk-column="primitive_id"
*/
public abstract PrimitiveLocal getPrimitive();
public abstract void setPrimitive(PrimitiveLocal primitive);
Apparently, it was also needed the setter (setPrimitive()) for the
interface method of the relationship. I didn't knew that...
Thanks Alexey!!
regards,
Pedro Salazar
--
-PS
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user