title: createSQLQuery in Hibernate
body: <p>I have the following code:</p>
  
  <pre><code>String SQL_QUERY ="Select abstractDesc from article";
  Query query = session.createSQLQuery(SQL_QUERY);
  Object [] amount = (Object []) query.uniqueResult(); 
  out.println("mean amount: " + amount[0]);
  </code></pre>
  
  <p>but I get the following error:</p>
  
  <blockquote>
    <p>Hibernate: Select abstractDesc from article
        query did not return a unique result: 10</p>
  </blockquote>
  
  <p>How can I solve this to have the query executed and print the result properly?</p>