update sql error

This commit is contained in:
SwallowGG
2024-06-05 14:28:24 +08:00
parent da70c9a058
commit 46740b8552
2 changed files with 4 additions and 2 deletions

View File

@ -134,6 +134,8 @@ public class MysqlDBManage extends DefaultDBManage implements DBManage {
} catch (Exception e) {
connection.rollback();
throw new RuntimeException(e);
}finally {
connection.setAutoCommit(true);
}
}