Hi everybody,

i am trying to develop a bookstore. 
And after i tried to make use of the Value-pattern, ejbdoclet messed up
my local CMP File. 

One Example:
In my BookBean i declared the function getAuthors as followed...
        
/**      
 * @ejb.interface-method
 * 
 * @ejb.relation
 *   name="Book-Author"
 *   role-name="Book-has-Authors"
 *    
 * @weblogic.relation
 *       join-table-name="book_author"
 * 
 * @weblogic.column-map
 *       foreign-key-column="book_id"
 *       key-column="id"
 *  
 * @ejb.value-object
 *              aggregate="proglang.j2ee.ejbs.AuthorValue"
 *              aggregate-name="Authors"
 *              members="proglang.j2ee.ejbs.AuthorLocal"
 *              members-name="proglang.j2ee.ejbs.AuthorBean"
 *              relation="external"
 */
public abstract Collection getAuthors();

Now after the compilation the BookValue Class is fine, but it seems
ejbdoclet messed up the BookCMP Class. It seems it substituted the wrong
things, here is an excerpt of BookCMP:

public void
addproglang.j2ee.ejbs.AuthorBean(proglang.j2ee.ejbs.AuthorValue added)
   throws javax.ejb.FinderException

shouldn't it be addAuthor(proglang.j2ee.ejbs.AuthorValue added)??

Or what am i doing wrong?

Thanks for every suggestion :)
Marius





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to