update equivalent of WHERE '1' = '1'
<p>When dynamically generating <code>WHERE</code> clauses for my sql, I like to hardcode <code>WHERE '1' = '1'</code> into the sql so I don't have to track whether to prepend <code>AND</code> to each following clause.  This is well documented in many places, such as this <a href="https://stackoverflow.com/q/242822/1003855">stackoverflow question</a>.</p>

<p>Is there an equivalent pattern for dynamically generating the <code>SET</code> clause for <code>UPDATE</code> statements?  I rather not keep track of whether I need to prepend a comma or not.  In case there aren't any general solutions, this will be for interacting with an oracle database over jdbc.</p>

<p>EDIT
For my particular use case, I will need to dynamically change which columns are being set.  So any solution which requires the query to contain all columns being set is a no go.  We have a table with 20+ columns, but only 3 or 4 will change at any given time.  We ran some load tests and found the only way to meet performance goals was to just send in data that needs to be updated.  Now I'm just trying to write pretty code to do so.</p>