gbase8a批量不能批量删除

报错信息如下:
java.sql.BatchUpdateException: [192.168.17.95:5050](GBA-02AD-0005)Failed to query in gnode:
DETAIL: Can't lock table: pantt.test01 (errno: 1)
SQL: /*192.168.17.95_1749_1008_2018-07-10_14:23:22*/ DELETE  FROM `pantt.test01` USING `pantt`.`test01_n1` `pantt.test01` WHERE (`pantt.test01`.`v0` = '50012') AND (1 = 1);
        at com.gbase.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2033)
        at com.gbase.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1461)
        at com.topwalk.twdpc.function.PackDataDbAbstractNew.duelAllTablePickDetail(PackDataDbAbstractNew.java:630)
        at com.topwalk.twdpc.function.PackDataDbAbstractNew.packDataByAllTb(PackDataDbAbstractNew.java:262)
        at com.topwalk.twdpc.function.PackDataDbAbstractNew.packDataMethod(PackDataDbAbstractNew.java:167)
        at com.topwalk.twdpc.thread.DpcResourceThread.run(DpcResourceThread.java:101)


0 回答

撰写回答

您需要登录后才可以回帖 登录 | 立即注册

提问者

发布1
回答1

相关问题

相关资料