title: With springs getHibernateTemplate, how can I get a list of users and limit the result set?
body: <p>I have a spring MVC application, how can I return a list of users and limit the results?</p>
  
  <p>My UserDao looks like:</p>
  
  <pre><code>public List&lt;User&gt; getUsers(int limit) {
    return super.getHibernateTemplate()????
  }
  </code></pre>