使用Jorm进行批量操作
摘要:
直接上代码吧:> Demo onepublic void batch_op_one() { session = Jorm.getSession(); JdbcBatcher batcher = session.createBatcher(); batcher.addBatch("delete from t_id_auto"); batcher.addBatch("delete from t_incre"); batcher.addBatch("delete from t_user"); batcher.execute(); se 阅读全文
posted @ 2011-10-09 20:09 jadmin 阅读(347) 评论(0) 推荐(0) 编辑