• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic 8.1 with finder method

 
vikassheel gupta
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Vicky Mohan
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be better if you could attach your code in the deployment descriptor..
 
vikassheel gupta
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic