插入数据一直没有成功,可能是该条记录被锁住了
1、查询锁定记录
SELECT s.sid, s.serial# FROM v$locked_object lo, dba_objects ao, v$session s WHERE ao.object_id = lo.object_id AND lo.session_id = s.sid;
2、删除
ALTER system KILL session 'SID,serial'
参考 https://blog.csdn.net/xujiangdong1992/article/details/70766419