I\'ve included fully testable code below, which generates the following error when supplied with a dataset xml containing empty fields. A sample dataset.xml>
xml
dataset.xml>
You must override method setUpDatabaseConfig(DatabaseConfig config) as follows:
@Override protected void setUpDatabaseConfig(DatabaseConfig config) { config.setProperty(DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS, true); }
Hope it helps