Log in as sys and execute:
delete from sys.obj$ o where o.type# = 29; -- classes
delete from sys.obj$ o where o.type# = 30; -- resources
Then check that they're all gone:
SELECT object_name, object_type, status
FROM user_objects WHERE object_type LIKE 'JAVA%';
1 comment:
better solution:
BEGIN
FOR c IN ( SELECT object_name FROM user_objects WHERE object_type LIKE 'JAVA%' and OBJECT_TYPE = 'JAVA CLASS' )
LOOP
EXECUTE IMMEDIATE 'DROP JAVA CLASS "' || c.object_name || '"';
END LOOP;
END;
Post a Comment