This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes classcastException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "classcastException" Watch "classcastException" New topic
Author

classcastException

priya pillai
Ranch Hand

Joined: Sep 12, 2007
Posts: 57
hi friends,

I am doing one small project using Weblogic,Xdoclet,MySQL,EJB

nested exception is: java.lang.ClassCastException

I found that error is comming in the line
localObject = (NeworderLocal) home.findByPo_noCMR("91");

Where Neworder is the entity bean name....

EJBQL for findByPo_noCMR is

*@ejb.finder
* query="SELECT OBJECT(a) FROM NeworderSCHEMA as a WHERE a.po_no = ?1"
* signature="java.util.Collection findByPo_noCMR(java.lang.String po_no)"
*

please help me
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: classcastException
 
Similar Threads
what is JLS?
what is beta exam?
I see results posted!
Want to see Head First PMP's table of contents
Drivel