• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

CMP EJB Finder Method for Primary Key Collection

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone know how to do the following for a CMP Entity Bean. I want to set up a Finder method with EJB QL that accepts a collection of primary keys (say Account #s) and returns a collection of Entity Bean references. I am inexperienced with CMP and all the examples I see of CMP Finder methods involve passing in single parameters and retrieving a collection of references based on that. Like pass in a Credit Limit and return all Account references with a Credit Limit less than that, while I would like to pass in say 10 Account #s (in a Collection not as 10 method parameters) and receive a Collection of 10 Account references. Can anyone help me out with this?
Get out of my mind! Look! A tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic