title: Do a DB2 insert with a select and parameters
body: <p>I want to do something like this:</p>
  
  <pre><code>INSERT INTO TABLEA
  (
   COLUMN1, COLUMN2, COLUMN 3
  )
  SELECT FOOBAR, DOOBAR, ?
  FROM TABLEB
  </code></pre>
  
  <p>And then send this to JDBC via Spring JDBC to update...</p>
  
  <pre><code>simpleJdbcTemplate.update( mySqlFromAbove, someVariableToReplaceQuestionMark );
  </code></pre>
  
  <p>Is this even possible? It would work fine if I replace the question mark with the hardcoded value when building my SQL query, but I don't want to open myself to SQL injection...</p>
  
  <p><strong>Edit -</strong> <br/>
  I get <br/>
  <em>nested exception is com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -418, SQLSTATE: 42610, SQLERRMC: null</em> <br />
  Which seems to indicate <br />
  <em>Invalid use of a parameter marker ?</em></p>