Hi all,

>From the xpetstore examples, I gather that I can have XDoclet generate a
Value Object and define an abstract getter/setter to access it.

For example, from ItemEJB:
....
 * @ejb.value-object
 *      name="Item"
 *      match="*"
....
/**
 * @ejb.interface-method
 * @ejb.transaction
 *      type="Supports"
 */
public abstract ItemValue getItemValue();

/**
 * @ejb.interface-method
 */
public abstract void setItemValue( ItemValue data );

However, using it this way, I get an exception from JBoss when trying to
get the value-object:
"javax.ejb.EJBException: Method is not a known CMP field accessor, CMR
field accessor, or ejbSelect method: methodName=getUserValue"

Suggestions anyone?

Cheers,
Dylan

PS.
Big kudos to everyone working on this. It is absolutely a fantastic
project and a true example of the power of open source.




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to