To export models from an instance of Oracle Database 11g to a dump file, follow the instructions in "Exporting and Importing Mining Models".
Caution:
Do not import data mining models that were created in Java. They are not supported in Oracle Database 12c.
To import the dump file into the Oracle Database 12c database:
%ORACLE_HOME\bin\impdp system\<password> dumpfile=<dumpfile_name> directory=<directory_name> logfile=<logfile_name> ..... SQL>CONNECT / as sysdba; SQL>EXECUTE dmp_sys.upgrade_models(); SQL>ALTER SYSTEM flush shared_pool; SQL>ALTER SYSTEM flush buffer_cache; SQL>EXIT;