Hi,
I am having some problems using composite value objects. In my schema I
have two tables with a one to one relationship, hence a composition ??? (I
know I could change this to be an aggregate which I have used elsewhere
succesfuly , but other parts of the system require composites so I need to
solve the problem).
Intface IP_ADDRESS
------- ----------
ID -------> IP_ADDRESS_ID
Name | OCTET1
IP_Address_ID - OCTET2
.... ....
(ps. not my schema ..., I wouldn't have quite done it that way)
The accessor methods in intface return/operate on a single element rather
than a collection. This is a code snippet.
* @jboss.relation
* fk-constraint="true"
* fk-column="IP_ADDRESS_ID"
* related-pk-field="ipAddressId"
*
* @ejb.value-object
* compose="iSAM.interfaces.IpAddressValue'
* compose-name="IpAddress"
* match="*"
public abstract iSAM.interfaces.IpAddressLocal getIpAddress();
When I try to build this I get an error from the value object template
invoking method failed:
xdoclet.modules.ejb.entity.PersistenTagsHandlers.forAllPersistenFields, line
= 10 of template file: ..... valueobject.xdt
Any hints as to how I should specify this would be greatly appreciated!
Thanks, Colin
---------------------------------------------------------------------------
-------------
Colin Canfield [EMAIL PROTECTED]
Internet Architect
0412 197 943
Explorative Software Pty Ltd
www.exsoft.com.au
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user