title: how to get the database values in to array list
body: <p>i had an array list statically like </p>
  
  <pre><code>    List l=new ArrayList();
        l.add("1");
        l.add("2");
        l.add("3");
        l.add("4");
        l.add("5");
  </code></pre>
  
  <p>but i want  to get the database column values in to my array list dynamically how this can be achieved please suggest me this im using oracle xe</p>