Message: The following issue has been re-assigned.
Assignee: Matthias Germann (mailto:[EMAIL PROTECTED]) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1304 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1304 Summary: wrong return type of EJB-QL aggregate method finders Type: Bug Status: Open Priority: Blocker Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: EJB Module Versions: 1.2.2 Assignee: Matthias Germann Reporter: Hans Prueller Created: Mon, 21 Mar 2005 12:13 AM Updated: Mon, 21 Mar 2005 12:36 AM Environment: jdk1.5.0_02, xdoclet 1.3 CVS snapshot, JOnAS 4.3.3 Description: I wrote an EJB-QL finder returning the MIN-value of a field: the finder I need should return the min value of a Long field, in Xdoclet this is declared like that: * @ejb:finder * signature= "java.lang.Long findMinTstampCarCID(java.lang.String cid)" * query ="SELECT MIN(c.tstamp) FROM AccEntryBean AS c WHERE c.car IS NOT NULL AND c.cid=?1" the problem is that the generated Xdoclet-finder method has the wrong return type: public com.lbslogics.ims.persistence.interfaces.AccEntryLocal findMinTstampCarCID(java.lang.String cid) throws javax.ejb.FinderException; the return type should be java.lang.Long, not the EJB-local object class. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel