OWB 11.2 Package Import Fails With API2206 and ORA-997: Illegal Use Of Long Datatype (Doc ID 1157603.1)
Last updated on MAY 09, 2017
Oracle Warehouse Builder - Version 22.214.171.124 to 126.96.36.199 [Release 11.2] Information in this document applies to any platform.
When trying to import packages from the database in OWB 11.2, the Metadata Import Wizard fails in step 2 at the point where a list of packages should be displayed:
API2206 and ORA-997: illegal use of LONG datatype when trying to import packages.
An OWB Design Client trace shows:
System.out ()] 6:03:36 PM: <DEBUG_ALL> select DISTINCT vobj.object_name, varg.package_name from ( select * from all_objects@owb_27 where owner = 'SCOTT' and object_type = 'PACKAGE' and object_name like '%' ) vobj, ( select * from all_arguments@owb_27 where owner = 'SCOTT' and package_name like '%' and package_name is not null ) varg where vobj.object_name = varg.package_name(+) order by vobj.object_name [System.out ()] 6:03:36 PM: <DEBUG_ALL> ********************************** [System.err ()] 6:03:36 PM: <DEBUG_ALL> java.sql.SQLException: ORA-00997: illegal use of LONG datatype
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a Million Knowledge Articles and hundreds of Community platforms