Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CMP EJB Finder Method for Primary Key Collection  RSS feed

 
Kevin Nguyen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!