Query should be LNAME IS NOT NULL since SQL != C.

Result collection holds EBs. A simple non-EB query is often easier to do
with a non-EJB JDBC query.

Fred Loney
Spirited Software, Inc.
www.spiritedsw.com


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> <entity>
>  <ejb-name>ClassBean</ejb-name>
>  ...
> <finder>
>  <name>findByLName</name>
>  <query>LNAME!=null</query>
> //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 returning only 1 column from the
table.
>  </finder> </entity>
> THANKS!!!
> Graham
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


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

Reply via email to