Patches item #523008, was opened at 2002-02-26 07:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402706&aid=523008&group_id=31602

Category: ejbdoclet
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Zak Jacobson (zakjacobson)
Assigned to: Nobody/Anonymous (nobody)
Summary: @ejb:finder result-type-mapping

Initial Comment:
When using the result-type-mapping attribute of 
@ejb:finder, we found that specifying "Local" 
or "Remote" didn't seem to matter.  The finder method 
was placed on both the remote and local home 
interfaces.

We fixed home.j and home-local.j to check the value of 
the result-type-mapping attribute prior to writing the 
method to the generated interface file.


* @ejb:finder
 *     signature="user.LocalUser findByUserName
(java.lang.String userName)"
 *     unchecked="true"
 *     query="SELECT DISTINCT OBJECT(u) FROM User u 
WHERE u.userName = ?1"
 *     result-type-mapping="Local"
 * @ejb:finder
 *     signature="user.User findByUserName
(java.lang.String userName)"
 *     unchecked="true"
 *     query="SELECT DISTINCT OBJECT(u) FROM User u 
WHERE u.userName = ?1"
 *    result-type-mapping="Remote"

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402706&aid=523008&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to