File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How many find method in CMP?

 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In a CMP, we are not required to define the findByPrimaryKey() mehtod. How about the other finder methods? How do we specify them in the CMP? Is there any declarative way of telling the container?
thanks,
Ramdhan YK
 
Lakshmi Kishore
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Declare the Finder methods in Home interface as you do for findByprimarykey and describe those methods in the finder list of the deployment descriptor. you don't need to implement user defined finder methods any where for CMPs.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic