• Post Reply Bookmark Topic Watch Topic
  • New Topic

Single-entity finders  RSS feed

 
Steven Gao Song
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, everyone,

Is the method findByPrimaryKey() the only return type of single-entity finder method?


Thank you.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, you can make some, like for example findBestSellingBook() which would return this month's bestseller.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!