• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is any finder method is required or findByPrimaryKey

 
Gaurav Chugh
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a quick question , in Remote home interface or Local home interface , any one finder method is required or findByPrimaryKey method is must have defined in the Home interface.

Thanks
Gaurav
 
Mahesh Desai
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is mandatory to put findByPrimaryKey() method into the entity bean home interface. Optionally, we may define more finder methods and each finder method must start with the prefix "find", as in findByPrimaryKey().


Thanks,
Mahesh

-------
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, (SCEA Part I preparing......)
 
Gaurav Chugh
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mahesh for your reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic