I have some problems with ejb finders :
I have an ejb with both local and remote view generation. I want my finder to be only accessible by the remote Home.
I tried to use result-type-mapping (and I also tried method-intf) but my finder is generated for both views (in the local and the remote homes).
Any idea ?
Thank's.
Nicolas.
/**
*
@ejb:bean
type="CMP"
*
name="HistoMarche"
*
jndi-name="ejb/remote/HistoMarche"
*
local-jndi-name="ejb/local/HistoMarche"
*
generate="true"
*
cmp-version="2.x"
*
view-type="both"
*
*
@ejb:pk
class="com.financeactive.insito.business.emprunt.ejb.PkHistoMarche"
*
generate="false"
*
* @ejb:transaction
type="Required"
*
* @ejb:data-object
generate="true"
*
* @jboss:table-name
table-name="HistoMarche"
*
*
*
*
@ejb:finder
signature="com.financeactive.insito.persistence.emprunt.ejb.HistoMarche
findByTest(java.lang.Integer idTauxMarche, java.lang.Integer idDevise,
java.util.Date
dtFixingMarche)"
*
query="SELECT OBJECT(u) FROM HistoMarche u WHERE u.idTauxMarche= ?1 AND
u.idDevise= ?2 AND u.dtFixingMarche=
?3"
* result-type-mapping="Remote"
* method-intf="Home"
*
*
*/
