• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
  • Piet Souris
  • Mikalai Zaikin


Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am confused while reading the WebLogic 6.0 documentaion regarding using CMP WLQL (for EJB 1.1) and EJBQL (for EJB 2.0)in the deployment descriptors. For example:
This finder method signature in EJBHome returns all EJBs with the balance attribute greater than the balanceGreaterThan parameter:
public Enumeration findBigAccounts(double balanceGreaterThan) throws FinderException, RemoteException;
and in the weblogic-cmp-rdbms-jar.xml, I define:
<![CDATA[> balance ?0]]>
Question 1: Do I have to define something in the ejb-jar.xml? If yes, what is the correct specification in the ejb-jar.xml for this particular example?
Then the WLS6.0 gives an example of using EJB QL. I understand that EJB QL strings has to be defined in ejb-jar.xml:
<![CDATA[WHERE balance > ?1]]>
Question 2: Do I have to define anything in the weblogic-cmp-rdbms-jar.xml? If yes, what is the correct specification in the weblogic-cmp-rdbms-jar.xml for this particular example?
Squanch that. And squanch this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic