Patches item #523008, was opened at 2002-02-26 16: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: Fixed Priority: 5 Submitted By: Zak Jacobson (zakjacobson) Assigned to: Vincent Harcq (vharcq) 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" ---------------------------------------------------------------------- Comment By: Vincent Harcq (vharcq) Date: 2002-03-14 23:52 Message: Logged In: YES user_id=125677 Ooh right ! I was planning to add a "view-type" to ejb:finder but this one will make the trick ---------------------------------------------------------------------- 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
