Hi,
>
> How about 2.1, will custom finder support be built in there?
>
> I just tried today's (feb 12) CVS version and could not get
> Custom Finders
> to work with CMP (it ignores the finder code in the bean). As
> I understand
> it custom finders is part of the 1.1 spec so integrated
> support for it would
> be nice.
>
I just checked my change into CVS last night (feb 12/6pm GMT) - was your
version of jboss after this?
> > >
> > > I am having problems getting custom finders to work,
> > > both using the JAWS <finder> tag and defining an
> > > ejbFindXXX method. So I have two questions:
> > >
> > > 1. How do you write your own finder in an entity bean?
> > >
> > > MyEntityHome:
> > > public abstract Collection findBySomething(int i)
> > >
> > > MyEntityBean:
> > > public Collection ejbFindBySomething(int i){
> > > // Do something and return a Collection of primary
> > > // keys for all records that match this criteria
> > > }
> > >
> >
> > I had to patch the JDBCFindByEntities class to get this to work -
> > it was not
> > finding my bean on the class path.
> > See my patch email "[PATCH] How-To: Use custom finders with
> JAWS CMP for
> > EJB1.1"
> >
> > I am using this with CMP.
> >
> >
regards,
Chris
================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and
are sent for the personal attention of the addressee. Although you may be the named
recipient, it may become apparent that this email and its contents are not intended
for you and an addressing error has been made. This email may include information that
is legally privileged and exempt from disclosure. If you have received this email in
error, please advise us immediately and delete this email and any attachments from
your computer system.Rabobank International is the trading name of Coöperatieve
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands.
Registered with the Registrar of Companies for England & Wales No. BR002630 and
regulated by the SFA for the conduct of investment business in the UK.
The presence of this footnote also confirms that this email has been automatically
checked by Rabobank International for the presence of computer viruses prior to it
being sent, however, no guarantee is given or implied that this email is virus free
upon delivery.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]