But JBoss does support delegation to a BMP style ejbFind... method. This 
is a JBoss specific feature, however, and it will disable the finder 
optimizations recently checked in.

Fred Loney wrote:

> By definition, a CMP bean doesn't implement a finder method. The container (jboss) 
>is responsible for all CMP data access logic.  Cf. any EJB book for elucidation. A 
>CMP finder query is specified in the jaws.xml config file; cf. 
>http://www.jboss.org/documentation/HTML/ch05s07.html .
> 
> "Nordahl, David C" wrote:
> 
> 
>>Could somebody post so sample code of how to overwrite finders by writing
>>ejbFindBy methods in the bean class.  This seems to be skipped over in the
>>documentation.  I'm unsure of how to intermix sql with java in the bean
>>class using cmp. Or how to call other findBy methods from the bean class.
>>It seems like one of this two things would have to take place in writing
>>your own ejbFindBy methods.
>>
> 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to