title: Talend: Query Database with Strings/Parameters already defined
body: <p>How can I perform a Query to my Database (using <strong>tOracleInput</strong>), like a <strong>Select</strong>, and use Strings that are already defined as parameters in other components, for example in a 'tFlowToIterate' ?</p>
  
  <p>For example: "<strong>SELECT * from TABLE_X where FIELD_X= ?</strong> ;" </p>
  
  <p>My <strong>'?'</strong> is the variable that comes from my tFlowToIterate component (foo). I already tried with <strong>(String)globalMap.get("foo")</strong>, and other similar forms...</p>
  
  <p>Thanks</p>
  
  <p>[Talend Open Studio for Data Integration v5.3.1;
   DB: Oracle]</p>