File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Weblogic 8.1 with finder method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Weblogic 8.1 with finder method" Watch "Weblogic 8.1 with finder method" New topic
Author

Weblogic 8.1 with finder method

vikassheel gupta
Ranch Hand

Joined: Aug 02, 2005
Posts: 53
Hi,
i am trying to configure the finder method findByCity(String s) but when i try to make it and build in weblogic 8.1 server it shows the error message :-


********************************************************************
ERROR: ERROR: Error from ejbc: [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:

ERROR: Query:
EJB Name: Dod_authorisationBean
Method Name: findByBrCode
Parameter Types: (java.lang.String)


SELECT OBJECT(o ) from Dod_authorisationBean as o where =>> BR_CODE <<= = ?1

EJB QL compilation encountered error: [EJB:013080]
Problem, the path expression/Identifier 'BR_CODE' starts with an identifier: 'BR_CODE'. The identifier 'BR_CODE', which can be either a range variable identifier or a collection member identifier, is required to be declared in the FROM clause of its query or in the FROM clause of a parent query. 'BR_CODE' is not defined in the FROM clause of either its query or in any parent query.

Action, rewrite the query paying attention to the usage of 'BR_CODE'.
ERROR:
.
ERROR: ERROR: ejbc couldn't invoke compiler

*******************************************************************

Now i cant understand how to solve it
thanks alot
all my parameters and data base type are correct and br_code is also maching but cant solve
thanks alot


Warm Regards<br />vikassheelgupta<br />9911005168
Vicky Mohan
Ranch Hand

Joined: Oct 14, 2004
Posts: 130
It would be better if you could attach your code in the deployment descriptor..
vikassheel gupta
Ranch Hand

Joined: Aug 02, 2005
Posts: 53
Hello sir
The porblem occurs at the time of build and thats why unable to make the deployment descriptor and the rest of the interfaces
so tell me how to solve it
thanks alot
 
Consider Paul's rocket mass heater.
 
subject: Weblogic 8.1 with finder method
 
Similar Threads
CMP Bean
How to write this find Query Element
Error during deployment of CMP bean
EJB QL errors using ejbc
CMR and EJBQL