Hello Friends,

         I m using WebSphere3.5. I wants to use custom
finder Methods. In the specification it is given that
u add one string in interface
beanNameBeanFinderHelper.
you have to define string like : public static final
String = "Select * from ejb.beanNamebeantbl where SOME
= ?";
         I defined exactly like this now it gives me
error like:: there is an error in SQL statement "."
not accept. Means it didnot accept "." after "ejb. .."
so i removed that dot & again deployed but now it
didnot give me error of SQL Exception BUT BUT  None of
my finder methods which returns Enumeration can be
cast to respective EJB Object. it gives me
.._EJBObject.. like ClassCastExeception. I use some
thing like this

   Enumeration e = RemoteObject.findCustome(ID);
while(e.hasMoreElements())
{
  RemoteObject ro = (RemoteObject)e.nextElement();
   :
   :
   :

}
   Is it so that i have to remove "ejb" from sql
statement ?? but it is wrong according to spcification
. If i removed "ejb" from sql statement and my program
is running then why it is giving me a
ClassCastException ???   So is it any problem with my
understanding ?? or some what different ?? i m
confused with this. Please help me..

Thanks in advance.



=====
Ashish Patel.
Baeurer Infotech Ltd.
India.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to