title: Spring JdbcTemplate: how to limit selected rows?
body: <p>I'm using Spring <code>JdbcTemplate</code> interface for fetching data from a MS SqlServer DB.
  In the documentation I see there is the <code>setMaxRows()</code> method to set a limit for all the queries, but what if I want to limit only a select?</p>
  
  <p>Is there a way to set a limit only for a specific invoked query in a "configurable" way?</p>