String getStatement() throws Exception

Returns the SQL statement of the entire transaction. If the transaction contains only one operation, this API returns only one statement. If there are multiple operations in the transaction, this API returns multiple statements separated by the newline character (“\n”).

Example

int msgSize = size();
if (msgSize > 0)
{
System.out.println (dbe.getStatement());
}
Sample output:
insert into REP4 values (1, "code 1", "name 1")
insert into REP4 values (2, "code 2", "name 2")
update REP4 set repCode = "code 1111" where repId=1