报的错误
Caused by: java.lang.RuntimeException: create table object error,tableName:BIN$/KSYU+/hS3OP9xYTLmAPEw==$0
Caused by: java.sql.SQLException: ORA-01424: missing or illegal character following the escape character
Oracle 回收站功能,彻底删除表
Oracle 10g 中出现表名:BIN$2cMp4FjwQ2Cw3Lj+BxLYTw==$0 最近发现Oracle中出现了这些奇怪的表名,上网查找后发现是oracle10g的回收站功能,并没有彻底的删除表,而是把表放入回收站,最后就出现了这样一堆奇怪的表名。。。。
一、清除的方法如下:
1、purge table origenal_tableName;
purge index origenal_indexName;
2、PURGE recyclebin;
二、查询垃圾信息,可以用如下SQL语句:
SELECT t.object_name,t.type ,t.original_name FROM user_recyclebin t;
三、删除Table不进入Recycle的方法:
drop table tableName purge;
MyEclispe 生成hibernate mapping files ,refresh 的时候报
ORA-01424: missing or illegal character following the escape character 错误。
在网上google了一下,发现是oracle recyclebin搞的鬼,按照已经有的办法
SQL> select object_name from user_recyclebin;
OBJECT_NAME
------------------------------
BIN$PvG8uWMHqdHgQAB/AQBO8Q==$0
BIN$PjmFUCSsVwLgQAB/AQA7CA==$0
BIN$PjmFUCSrVwLgQAB/AQA7CA==$0
BIN$PjmFUCSqVwLgQAB/AQA7CA==$0
.....
手工清空回收站:
SQL> purge recyclebin;
重新middlegen,一切ok!