Bugs item #521571, was opened at 2002-02-22 20:24
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=521571&group_id=31602
Category: ejbdoclet
Group: cvs
Status: Open
Resolution: None
Priority: 5
Submitted By: Matt (mpetteys)
>Assigned to: Vincent Harcq (vharcq)
Summary: Remote/Local Home finders ignore types
Initial Comment:
The local and home interfaces ignore the "result-type-
mapping" fiels. So if you have a declaration like
this.
/**
*
* @ejb:bean name="Category" type="CMP"
* jndi-name="ejb/Category"
* local-jndi-name="ejb/CategoryLocal"
* view-type="both"
* primkey-field="id"
* @ejb:finder signature="Category findByName
(java.lang.String name)"
* unchecked="true"
* transaction-type="NotSupported"
* query="SELECT DISTINCT OBJECT(o) FROM
Category o WHERE o.name = ?1"
* result-type-mapping="Remote"
* @ejb:finder signature="CategoryLocal findByName
(java.lang.String name)"
* unchecked="true"
* transaction-type="NotSupported"
* query="SELECT DISTINCT OBJECT(o) FROM
Category o WHERE o.name = ?1"
* result-type-mapping="Local"
*/
The remote and local homes have two finders with that
same name in each of them..
Remote home..
public Category findByName(java.lang.String name)
throws
java.rmi.RemoteException,javax.ejb.FinderException;
public CategoryLocal findByName(java.lang.String
name)
throws
java.rmi.RemoteException,javax.ejb.FinderException;
Local home..
public Category findByName(java.lang.String name)
throws javax.ejb.FinderException;
public CategoryLocal findByName(java.lang.String
name) throws javax.ejb.FinderException;
I would think the remote home should only have this
finder.
public Category findByName(java.lang.String name)
throws
java.rmi.RemoteException,javax.ejb.FinderException;
and the local home should only have this finder..
public CategoryLocal findByName(java.lang.String
name) throws javax.ejb.FinderException;
----------------------------------------------------------------------
>Comment By: Vincent Harcq (vharcq)
Date: 2002-03-11 08:28
Message:
Logged In: YES
user_id=125677
OK. Spec 12.1.7.
I will work on that.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=521571&group_id=31602
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel