ssage -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 4:34 PM
Subject: RE: [JBoss-user] Custom finders in Jaws
> Thats exactly what I want to do (just a query) I guess I dont have a good
> understanding of EJBs yet(or Java in general)
To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Custom finders in Jaws
>
>
> u
> if you only want the last name ... you need an entity bean with only the
> last name in it?? You will have big problems if 2 people have the last
> name, usually last name is not a very good c
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 1:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Custom finders in Jaws
u
if you only want the last name ... you need an entity bean with only the
last name in it?? You will have big problems if 2 people have the last
name
ED]>
Sent: Wednesday, September 26, 2001 11:04 AM
Subject: [JBoss-user] Custom finders in Jaws
> Howdy, How can I declare a findByLName() in jaws, I tried this.Like
the docs
> chpt 6
>
> ClassBean
> ...
>
> findByLName
> LNAME!=null
> //What I want is for the colle
u
if you only want the last name ... you need an entity bean with only the
last name in it?? You will have big problems if 2 people have the last
name, usually last name is not a very good candidate key.
I think maybe what you want to do here is not get a collection of entity
beans, but to ju
Title: RE: [JBoss-user] Custom finders in Jaws
You cant do that with finders.
You can't use a finder to return only one field. A finder returns you either 1 entity bean or a collection of entity beans.
If u want to extract the last names, call findAll() and then traverse the ret
Howdy, How can I declare a findByLName() in jaws, I tried this.Like the docs
chpt 6
ClassBean
...
findByLName
LNAME!=null
//What I want is for the collection to contain all lastNames from all
records(I guess I need a wildcard here so It will return all)
//Similar to a findAll() except retu