title: Setting Column Value Dynamically JDBC Appender : Log4j2
body: <p>I Have JDBC appender configured in log4j2 xml</p>
  
  <pre><code>&lt;JDBC name="databaseAppender" tableName="TL_FX_LOG"&gt;
    &lt;ConnectionFactory class="org.apache.jmeter.protocol.java.test.ConnectionFactory" method="getDatabaseConnection" /&gt;
    &lt;Column name="LOG_DATE" isEventTimestamp="true" /&gt;
     &lt;Column name="LOG_DESC" pattern="%message" /&gt;
        &lt;Column name="LOG_Batch" literal="someproperty" /&gt;
  </code></pre>
  
  <p>I need to set the value of literal(LOG_Batch) from Java Code.</p>
  
  <pre><code>Logger.debug("hello");
  </code></pre>
  
  <p>hello will be passed as %message value .But if i have a variable </p>
  
  <pre><code>String log_batch="test";
  </code></pre>
  
  <p>how to pass the log_batch variable value to JDBC appender.</p>