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
Joined: Jul 29, 2002
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.
sharp shooter, and author
Joined: May 10, 2000
"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