Thanks Boris
You are right i had to mention all the feilds in the Table in the select
query
Tasneem
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
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
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
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:
> >
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
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
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: