title: Updating database with values in properties file in Java
body: <p>I have a property file(<strong>.properties</strong>) which is having some values that needs to be updated in the database.</p>
  
  <p>I can specify key with <strong>delimiter '#'</strong> like</p>
  
  <pre><code>table_name#column_name#where_clause_column#where_value = value_to_be_updated
  </code></pre>
  
  <p>Above will generate an update like(logic to generate update statement is written in Java by me) </p>
  
  <pre><code>update table_name set column_name = value_to_be_updated where where_clause_column = where_value 
  </code></pre>
  
  <p>It is working fine. I want to know if this actually is the right way to go about it or is there any better way to do the same?</p>