conn.setAutoCommit(false);
int len = getSize(3, 100);
for (int j = 0; j < len; j++) {
stat.execute("INSERT INTO TEST VALUES(" + j + ", 'Hello')");
if (random.nextInt(5) == 0) {
conn.commit();
}
if (random.nextInt(10) == 0) {
stat.execute("DROP TABLE IF EXISTS TEST");
stat.execute("CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR(255))");
}