On the 19th I posted a message questioning why XDoclet was not generating a create() method corresponding to an @ejb.create-method tag on an ejbCreate() method definition on my CMP entity bean.

It turns out that I was missing a 'name' attribute on the @ejb.bean tag annotating my CMP entity bean. In other words, I used to have:

 * @ejb.bean
 *      type="CMP"
 *      cmp-version="2.x"
 *  view-type="local"

but now I have:

 * @ejb.bean
 *      name="AnnotationEntity"
 *      type="CMP"
 *      cmp-version="2.x"
 *  view-type="local"

And the create method gets generated in the local Home interface as expected.

Thanks to David for your reply ...



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to