DBController dc = DBController.getTestInstance() ;
dc.initSelf() ;
String query = "Types@test2(?,?,?,?,?, ?,?,?,?)" ;
IUserProcedureBatch upt = dc.createUserProcedureBatch(query) ;
int max = 10000 ;
for (int i = 0; i < max; i++) {
upt.addBatchParam(0, new UUID(RandomUtil.nextLong(), new Date().getTime()).toString()) ;
upt.addBatchParam(1, RandomUtil.nextRandomString(10)) ;
upt.addBatchParam(2, RandomUtil.nextRandomString(10)) ;
upt.addBatchParam(3, RandomUtil.nextRandomString(20)) ;
upt.addBatchParam(4, "NORMAL") ;
upt.addBatchParam(5, RandomUtil.nextInt()) ;
upt.addBatchParam(6, RandomUtil.nextRandomString(12)) ;
upt.addBatchParam(7, RandomUtil.nextRandomString(10)) ;
upt.addBatchParam(8, RandomUtil.nextInt()) ;
}
upt.execUpdate() ;
dc.destroySelf() ;
}