The dbreport mediator is very similar to the dblookup mediator, but writes information to a Database, using the specified insert SQL statement. For configuration information about db mediators , refer dblookup mediator guide
<dbreport>
<connection>
<pool>
(
<driver/>
<url/>
<user/>
<password/>
|
<dsName/>
<icClass/>
<url/>
<user/>
<password/>
)
<property name="name" value="value"/>*
</pool>
</connection>
<statement>
<sql>insert into something values(?, ?, ?, ?)</sql>
<parameter [value="" | expression=""] type="CHAR|VARCHAR|LONGVARCHAR|NUMERIC|DECIMAL|BIT|TINYINT|SMALLINT|INTEGER|BIGINT|REAL|FLOAT|DOUBLE|DATE|TIME|TIMESTAMP"/>*
</statement>+
</dblreport>
Figure 1: DBReport options
DBReport mediator options field descriptions,

If existing data source is choosen, clicking "Load Data Sources" will give the available datasource. Then a data source can be selected.
Like in Pool connection data source configuration properties should be specified.
Figure 2 shows the screen after clicking Add Property,

Figure 2: Adding a property
Property field descriptions,

Figure 3: Adding SQL statements