title: DBUnit: how to change a property value correctly?
body: <p>I have the problem with DBUnit (V2.5.3) that I want to set the property <code>FEATURE_ALLOW_EMPTY_FIELDS</code> to <code>true</code> but DBUnit ignores this setting. My code to set the property is:</p>
  
  <pre><code>DatabaseConfig dbCfg = null;
  try {
    dbCfg = dbTester.getConnection().getConfig();
    dbCfg.setProperty(DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS, Boolean.TRUE);
  
    System.out.println("getCfg -&gt; " + dbTester.getConnection().getConfig().getProperty(DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS));
    System.out.println("dbCfg  -&gt; " + dbCfg.getProperty(DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS));
  
  } catch (Exception exc) {
    exc.printStackTrace();
  }
  </code></pre>
  
  <p>I think the problem is that the new value is only set to the <code>dbCfg</code> object. But it seems that DBUnit don't use this object becaus the output of the code above is:</p>
  
  <pre><code>getCfg -&gt; false
  dbCfg  -&gt; true
  </code></pre>
  
  <p>Looks as if I am too stupid to understand how to set a DBUnit property correctly ...</p>