title: Regarding sql generate Update
body: <p>We are trying to generate upsert statement of phoenix with the logic we want to give in xml file .
  We are thinking of using antlr or string templates , Please let us know which one to use better . or any other approach we can use
  Input data is thought of be given from xml file. Antlr or string template will read that xml and then generate the upsert statements. IN xml we thought of</p>
  
  <pre><code> &lt;Query&gt;
                      &lt;Maintable&gt;Employee&lt;/Maintable&gt;
                      &lt;Jointable&gt;Employer&lt;/Jointable&gt;
                      &lt;joinType&gt;INNER&lt;/joinType&gt;
  
                      &lt;columnsToSelect&gt;"ID","Name","Employee_SHRT_NME"&lt;/columnsToSelect&gt;
      &lt;/Query&gt;
  </code></pre>