> >sorry - no, straight JDBC query....
> >
> >public Collection ejbFindByWhatever( ... )
> >   throws FinderException
>
> Are you allowed to provide implementation of ejbFind... for *CMP*?
>
> I thought ejbFind... was only for BMP?
>
> The spec says that for CMP (section 10.5.6 of EJB 2 Final Draft 2):
>
> "Every finder method exception findByPrimaryKey must be associated with a
> query element in deployment descriptor.  Bean Provider declaratively
> specifies the EJB QL finder query ..."

hmmm... that sux.... geez, I hope somewhere in there I said I wasn't sure about it (o:

well in that case, it would seem that its up to your container vendor to do something 
for you.  Either than or generate a huge
number of finders as earlier suggested.  If you did want to take that path, XDoclet 
(http://sf.net/projects/xdoclet) would be well
worthwhile to save you writing them all yourself :)

sorry for the confusion...

cheers
dim

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to