Lorraine Fox wrote:
> I found an error that said I needed an entry in the
> deployment descriptor. In a jar file, xdoclet generated the
> message "to add more finder methods, create a file named
> ejb-finders-myEntity.xml 
> 
> That's great, but does anyone have a sample, I'm not sure
> where to start... Any help would be appreciated, Thanks, Lorraine

That's called a merge file. There are several places in the templates
that include merge files, sometimes based on the name of the bean. In
this case, it's described in

 
http://xdoclet.sourceforge.net/ant/xdoclet/modules/ejb/dd/EjbDotXmlSubTa
sk.html

Scan down to "ejb-finders-{0}.xml" under "Merge Files":

  "An XML unparsed entity containing query elements
   for a bean, for additional finder and select methods
   not defined in the bean class or its tags."

But if this is related to your previous message, I don't think this is
what you need. XDoclet will generate everything you need for the finders
you put in the class comment for your bean. I guess you'd use the merge
file above if you implemented the finders yourself without XDoclet.

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to