I just started using xDoclet and I have a few questions.

I added an @ejb.value-object tag to my AccountBean.java (entity) and it generates a value object for that class. The problem is that is has generated two constructors as follows ...

public AccountValue() {}
public AccountValue() { pk = this.getId(); }

And of course this file does not compile because AccountValue is already defined in it.

The AccountBean classes @ejb.bean is defined as

@ejb.bean
   name="my/Account"
   type="BMP"
   view-type="remote"
   jndi-name="ejb/my/Account"
   primkey-field="id"
...
@ejb.value-object

Any help much appreciated.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to