• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB QL returning max of 50 records  RSS feed

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

How do I return in my EJB QL findXXX methods a max of 50 records?
 
Tony romer
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
call SetMaxResults of your query object
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!