title: Java - select from array of values
body: <p>I was wondering if it is possible to do a <code>select *</code> where value is in Java <code>String[]</code> or do I need to build a string of values from the string array first?</p>
  
  <p>I am trying to find the best way of doing this technically without singular selects or building a string of values from the array.</p>
  
  <p>Thanks for your time.</p>
  
  <pre><code>String[] lookupValues = new String[]{"1", "2", "3", "4"};
  Select * from database where value in (lookupvalues)
  </code></pre>