Use a random record in a file for a preparedstatement
<p>I'm using Swingbench for some load testing. I have just to create a case that run something like</p>

<pre><code>SELECT COL1 FROM TABLE WHERE COL2 = ?
</code></pre>

<p>The value of COL2 is a number contained in a file, like a customer number, that is not a sequence. Looking and available classes in Swingbench for demos I see that wherever Swingbench read a file with (for example) productids then use a single product id calculating a random value between min and max value of the file. In my case this is not applicable. </p>

<p>How can I tackle this problem in Java?</p>
