In the EJB specificatios is written that the ejbFind... methods are callen
only for BMP beans. You can not write your own finder for a CMP.
Either make it BMP, or find a way to specify your finder with orion.

"Scott Hamilton, (m)+61-404-280 238" wrote:

>    I have written a CMP that needs a new finder method
>     findBySecurityIdentifier(String Username) this method
>     makes a number of calls to a Session Bean
>     (that accesses our legacy Application Security System) and
>     then returns a filtered Collection from a findAll() Collection
>     based on what rights you have to that data...  But my
>     ejbFindBySecurityIdentifier() method seems to *never* get
>     called, and the orion-ejb-jar.xml keeps generating a finder
>     sql that I don't want!!!  Any pointers, info greatfully welcome...
>
>     Thanx
>       Scott.
>
>


Reply via email to