• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Weblogic 8.1 with finder method

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic