I am getting the following error while doing ejbc. Can anyone tell me ehy this error is coming? I am using weblogic 6.0
ERROR: Error from ejbc: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml '. The error was: weblogic.ejb20.cmp.rdbms.finders.IllegalExpressionException: While trying to process Finder Method Name: findByName Parameter Types: (java.lang.String) EJB Query: SELECT OBJECT(a) FROM CourseBean As a WHERE courseName = ?1 ) Could not parse EJB QL expression: SELECT OBJECT(a) FROM CourseBean As a WHERE courseName = ?1
Thanks
Sreekailas
georgejk
Greenhorn
Joined: Jul 29, 2002
Posts: 24
posted
0
Hi Your QL is seems to be wrong.Try out something like SELECT OBJECT(a) FROM CourseBean AS a WHERE a.courseName = ?1 I think this will solve ur problem.
Simon Brown
sharp shooter, and author
Ranch Hand
Joined: May 10, 2000
Posts: 1860
posted
0
"georgejk, Thanks for joining JavaRanch, but could you just take a quick look at the naming policy and edit your profile accordingly. Thanks, Simon Bartender (moderator) of "J2EE and EJB" forum
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.