1.ORA-39002、39070
grant read, write on directory dpump_dir to public;
grant read, write on directory dpump_dir to oracle;
2.ORA-02275: 此表中已经存在这样的引用约束条件
这个错误是oracle与Hibernate同时对表做了外键约束
在oracle中删除外键语句alter table T_S_USER drop constraint USERID 显示表中不存在这样的约束条件
上网查询找到解决办法:https://www.cnblogs.com/chinhr/archive/2012/11/26/2788748.html
select ‘alter table ‘ || table_name || ‘ drop constraint ‘ || constraint_name || ‘;’ from user_constraints where constraint_type = ‘R’;
结果显示一串alter语句,选择alter table T_S_USER drop constraint SYS_C0012202;执行,问题解决
转载于:https://www.cnblogs.com/atongmumu/p/7716647.html