title: getting first row of table by criteria query
body: <p>How can I get the first row of a table by using <code>criteria</code> or <code>HQL</code> query?</p>
  
  <p>Table creation script</p>
  
  <pre><code>   CREATE TABLE MonthlySubscriber(MSISDN bigint(20) 
     NOT NULL, MonthOfYear int(11) NOT NULL, 
     PRIMARY KEY (MSISDN)); 
  </code></pre>