This is the limitation of dbunit. If we can covert testng to junit then we can use groovy to generate test data.