EJB Entity Bean, findByPrimaryKey method not being generated
------------------------------------------------------------

                 Key: XDT-1684
                 URL: 
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1684
             Project: XDoclet
          Issue Type: Bug
          Components: EJB Module
    Affects Versions: 1.2.3
         Environment: XDoclet 1.2.3 plugin as shipped with JBuilder 2007
            Reporter: Anthony Dodd
            Assignee: xdoclet-devel (Use for new issues)


I found a recent problem with an ejb entity, whose xdoclet generated interfaces 
appeared to be missing the findByPrimaryKey method.

I eventually identified the problem, I had another finder method in my bean 
called findByPrimaryKeyAndType, as soon as I renamed this method to 
findByKeyAndType, the findByPrimaryKey method was generated.

I can only assume that somewhere in the generator code, something is looking 
for a method starting with "findByPrimaryKey" if it finds one then it doesn't 
generate the method.

I've reported this because I guess some else is going to run into the same 
problem. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to