mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 10:43:06 +08:00
update sql error
This commit is contained in:
@ -134,6 +134,8 @@ public class MysqlDBManage extends DefaultDBManage implements DBManage {
|
||||
} catch (Exception e) {
|
||||
connection.rollback();
|
||||
throw new RuntimeException(e);
|
||||
}finally {
|
||||
connection.setAutoCommit(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user