dc.initSelf() ;
String query = "insert into node_tblc#(uuid, ntid, name, explain, status, viewcount, reguserid, parentid, versionnum) " +
"values(?,?,?,?,?, ?,?,?,?)" ;
IUserCommandBatch batch = dc.createUserCommandBatch(query) ;
int max = 1000 ;
for (int i = 0; i < max; i++) {
batch.addBatchParam(0, RandomUtil.nextRandomString(35, RandomUtil.DOWNCASE_CHAR_TYPE)) ;
batch.addBatchParam(1, RandomUtil.nextRandomString(10, RandomUtil.DOWNCASE_CHAR_TYPE)) ;
batch.addBatchParam(2, RandomUtil.nextRandomString(10, RandomUtil.DOWNCASE_CHAR_TYPE)) ;
batch.addBatchParam(3, RandomUtil.nextRandomString(20, RandomUtil.DOWNCASE_CHAR_TYPE)) ;
batch.addBatchParam(4, "NORMAL") ;
batch.addBatchParam(5, RandomUtil.nextInt()) ;
batch.addBatchParam(6, RandomUtil.nextRandomString(12, RandomUtil.DOWNCASE_CHAR_TYPE)) ;
batch.addBatchParam(7, RandomUtil.nextRandomString(10, RandomUtil.DOWNCASE_CHAR_TYPE)) ;
batch.addBatchParam(8, RandomUtil.nextInt()) ;
}
batch.execUpdate() ;
dc.destroySelf() ;
}