title: How to convert ResultSet into Object[] and retrieve the data
body: <p>I have a <code>List&lt;object[]&gt; records=null;</code></p>
  
  <p>I am retrieving some data and storing it in to the <code>ResultSet</code>.</p>
  
  <p>Now, How do I convert the <code>ResultSet</code> into this <code>Object[]</code> and return the records(retrieved values).</p>