HI
i found some problem in EJB can any one help me to solve that problem it
i use CMP EJB on OC4J server and when i make EJB QL then it creates problem with rownum and with like statements so can any one try this
thanks
Printable View
HI
i found some problem in EJB can any one help me to solve that problem it
i use CMP EJB on OC4J server and when i make EJB QL then it creates problem with rownum and with like statements so can any one try this
thanks
Can U Give Me Some More Details?
I Can Give You Neccessary Ejb-ql
Shrinivas
hello
i need some help in EJB
DodAuthorisationHome dodAuthHome = (DodAuthorisationHome)PortableRemoteObject.narrow(context.lookup("DodAuthorisation"), DodAuthorisationHome.class);
DodAuthorisation dodAuthorisation;
now the first line shows the java.lang.ClassCastException
why it occurs tell me plsssssssssssss
Try the following and see what class you are actually returning.
Object object = PortableRemoteObject.narrow( context.lookup("DodAuthorisation"), DodAuthorisationHome.class);
System.out.println(object.getClass().getName().toString());
Hello sir
problem is in the :
DodAuthorisationHome dodAuthHome = (DodAuthorisationHome)PortableRemoteObject.narrow(ctx.lookup("DodAuthorisation"), DodAuthorisationHome.class);
line thats why nothing is printed
bcz the flow stops when it gets error message
so it will not run
System.out.println(dodAuthHome.getClass().getName().toString());
so tell me how to solve it and why this comes