thanks CMP-findby method worked

2000-12-21 Thread tasneem
Thanks Boris You are right i had to mention all the feilds in the Table in the select query Tasneem

RE: CMP-findBy method

2000-12-21 Thread Jeff Schnitzer
CTED] -Original Message- From: Boris Gertsberg [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 21, 2000 10:10 AM To: Orion-Interest Subject: Re: CMP-findBy method Your select statement in findBy method MUST include EVERY mapped property of your Entity Bean even if you use partial S

Re: CMP-findBy method

2000-12-21 Thread Boris Gertsberg
Your select statement in findBy method MUST include EVERY mapped property of your Entity Bean even if you use partial SQL statement.(i.e:"select T_Hotel.hotel_name,T_Hotel.trans_xid from T_Hotel where T_Hotel.trans_xid=$1") After findBy method found each of your entity beans a

CMP-findBy method

2000-12-21 Thread tasneem
Hello everybody   I have a problem i hav a CMP bean in which i am doing doing a findBy method to get some info from my table. As per the normal way i have mentioned the query in my home class. After deploying have also found the same query in the orion.ejb.jar xml file but when i run my

Re: FindBy method

2000-08-08 Thread Mike Clark
pe program to track FAQ's and their > answers. > >Now my question comes in as to how to/or even if, a container > managed bean > >can handle a FindBy method that would require a SQL statement that > would > >change... For instance, the user could type in: > >

RE: FindBy method

2000-08-08 Thread Rick Bos
rator iter = c.iterator(); while ( iter.hasNext() ) { Question question = ( Question ) iter.next(); } > -Original Message- > From: Jeremy Cowgar [SMTP:[EMAIL PROTECTED]] > Sent: August 8, 2000 1:31 PM > To: Orion-Interest > Subject: FindBy meth

Re: FindBy method

2000-08-08 Thread Robert Krueger
At 13:31 08.08.00 , you wrote: >Greetings, > >I would like to create a Q&A type program to track FAQ's and their answers. >Now my question comes in as to how to/or even if, a container managed bean >can handle a FindBy method that would require a SQL statement that would

FindBy method

2000-08-08 Thread Jeremy Cowgar
Greetings, I would like to create a Q&A type program to track FAQ's and their answers. Now my question comes in as to how to/or even if, a container managed bean can handle a FindBy method that would require a SQL statement that would change... For instance, the user could type in: