Creation of Oracle model hanging MS SQL 7- 8.1.6
Had a question answered yesterday which has got me almost there, for which thank you. Creating the Oracle model now maps almost all the objects in my SQL Server database (apart from a few roles, triggers and stored procedures), up to the point where the log window shows:
[Timestamp] Mapping Roles mapped: 7, Roles NOT Mapped: 3
[Timestamp] Mapping Mapping User Privileges
[Timestamp] Mapping mapped user privilege :
[Timestamp] Mapping mapped user privilege :
[Timestamp] Mapping mapped user privilege :
The process then hangs (it's been 21 hours now). Any ideas?
Scott Doughty
Your topic title, "Creation of Oracle model hanging MS SQL 7->8.1.6", caught my eye, but our situations aren't exact.
Workbench is hanging on me during the Oracle Model creation when it gets to "Mapping tables". I also waited about 24 hours without any results.
Do you have any insight to my problem?
Similar Messages
-
Creation of Oracle managed objects - CF's and Destinations
Hi,
Is there a way to create Oracle CF's and Destinations apart from AQJmsFactory. What I am looking for is creating these objects through reflection which most of the JMS providers support. This allows using the Generic JMS RA in javabean mode to easily integrate with Oracle AQ. Please reply.
Also if it is not possible when is Oracle going to change its API to be standardized as most of the JMS providers support?
CheersYour topic title, "Creation of Oracle model hanging MS SQL 7->8.1.6", caught my eye, but our situations aren't exact.
Workbench is hanging on me during the Oracle Model creation when it gets to "Mapping tables". I also waited about 24 hours without any results.
Do you have any insight to my problem? -
Cannot create Oracle model MS SQL 7 - Oracle 8.1.6
Have MS SQL Server 7.0 and Oracle 8.1.6 running on same NT server. The SQL Server 7.0 Source Model is created with no problems - I can see each table and its owner (always dbo). When creating the Oracle model the tables from the MASTER database are loaded OK but when the user tables start every one fails. Error messages such as:
OracleModelImpl_insertObjInfo() java.sql.SQLException: ORA-01400: cannot insert NULL into... [I cannot see to the end of this line]
tbl_Batch_Prints: Table. Owner name is NULL. Check that SQL Server 7.0 MASTER database is correctly rec... [that's all i can see]
EXCEPTION: SQLServer7SourceModelMap.mapTables(): tbl_Batch_Prints, oracle.mtg.migration.MigrationS... [end of visible error message]
Where do I start to get this working?
Thanks, Scott DoughtyVery helpful! "exec sp_changedbowner 'sa'" did the trick. Almost... I can now start generating the Oracle model and just about everything gets mapped apart from some roles, triggers and stored procedures until the log window reads:
[Timestamp] Mapping Roles mapped: 7, Roles NOT Mapped: 3
[Timestamp] Mapping Mapping User Privileges
[Timestamp] Mapping mapped user privilege :
[Timestamp] Mapping mapped user privilege :
[Timestamp] Mapping mapped user privilege :
and then the screen hangs. It's been a few hours now and NT is showing no activity on any of the Oracle processes. Do I just need to be more patient, or has something gone wrong? -
OWB Freezes at ORACLE Model creation.
I am in the process of migrating an ACCESS database to ORACLE. I followed the following steps:
1. Create a new ACCESS database and import the database that I want to migrate to the new database.
2. Compacting the new database as per document instruction.
3. Some columns in the database tables have binary definitions.
4. I changed these definitions to "text". Because ACCESS has not a BLOB or RAW definition.
5. Then I created the XML file with the migration_exporter.
6. Then I edited the XML file changing the text definitions of these particular files to ORACLE's "RAW" definitions.
7. Then I create the source model.
8. Then I create the ORACLE model.
9. During this creation the OMW get stuck at the fourth table it attempts to convert.
Please find below an output of Oracle Migration Workbench build 20041207 log file.
** Active Plugin : MSAccess
java.lang.NullPointerException at oracle.mtg.oracleModel.server.OracleModelImpl._getNativePrecisionOrLength(OracleModelImpl.java:8267) at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumn(OracleModelImpl.java:8081) at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:8043) at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3831) at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3908) at oracle.mtg.msaccess.server.MSAccessSourceModelMap._mapTables(MSAccessSourceModelMap.java:874) at oracle.mtg.msaccess.server.MSAccessSourceModelMap.mapSourceModel(MSAccessSourceModelMap.java:168) at oracle.mtg.msaccess.ui.MSAccessCaptureWizard.map(MSAccessCaptureWizard.java:218) at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:457) at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:95) at oracle.mtg.migration.WorkerThread.run(Worker.java:268)Hello,
You shouldn't be making any edits to the generated XML file, as is stated at the top of the file
<!-- Do not modify this file as any modification will invalidate the export and subsequent migration of your MS Access database -->
I would suggest that you attempt to migrate your database as is, without changing definitions as you specified in point 4. Once the XML file has been generated, don't edit it. Load the file into the Migration Workbench and then follow the wizard through to generate the Source Model and Oracle Model.
I hope this helps.
Regards,
Jocelyn -
Workbench hang's while are creating oracle model of informix BD
Hi,
we are testing to migrate informix 9.40 to Oracle 10g and when the migration workbench is Creating Oracle Model it is hang while it is treating one foreing key.
The Foreing key in informix is:
alter table "dtmpub00".we_docpalabras add constraint (foreign
key (codi) references "dtmpub00".we_palabras constraint "dtmpub00".fk_ref_21_15211);
The columns codi in the two tables are of type informix integer.
In the BD are others seemed foreings keys that workbench seems that to migrated correctly.
In the error.log file appears the following error message:
** Oracle Migration Workbench
** Production
** ( Build 20050629 )
** OMWB_HOME: C:\Documents and Settings\ut10603.DOMINI_TMB\Escritorio\Migración ORACLE\Migration Workbench 10.1.0\omwb
** user language: es
** user region: null
** user timezone:
** file encoding: Cp1252
** java version: 1.4.2_04
** java vendor: Sun Microsystems Inc.
** o.s. arch: x86
** o.s. name: Windows XP
** o.s. version: 5.1
** Classpath:
..\lib\boot.jar
** Started : Mon Jul 03 12:05:33 CEST 2006
** Workbench Repository : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Repository Connection URL: jdbc:oracle:thin:@neptuno:1521:orcl
** The following plugins are installed:
** Informix Dynamic Server 9.x Plugin, Production Release 10.1.0.4.0
** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
** Active Plugin : Informix9
java.util.NoSuchElementException
at java.util.Vector.firstElement(Unknown Source)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertForeignKey(OracleModelImpl.java:4645)
at oracle.mtg.informix7.server.Informix7SourceModelMap._mapForeignKeys(Informix7SourceModelMap.java:3640)
at oracle.mtg.informix7.server.Informix7SourceModelMap.mapSourceModel(Informix7SourceModelMap.java:326)
at oracle.mtg.informix7.ui.Informix7CaptureWizard.map(Informix7CaptureWizard.java:390)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:457)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:95)
at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
Any aid will be appreciated.
Thanks
José Manuel RodríguezJosé,
This looks like a bug. Can you raise a bug with Oracle support, so we can build an appropriate test case to reproduce and fix within development.
Donal -
Hang up when creating the oracle model
When I try to migrate an Access97 db to Oracle using the Migration Workbench, after capturing the source database fine, I run the "create oracle model from source model" and it functions well until it reaches the final foreign key where it will just hang!
What do I need to do?
here is the error log
same version of PlugIn MSAccess. continue...
same version of PlugIn SQLServer6. continue...
same version of PlugIn SQLServer7. continue...
same version of PlugIn Sybase. continue...
java.util.NoSuchElementException
at java.util.Vector.firstElement(Vector.java:343)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertForeignKey(OracleModelImpl.java:2923)
at oracle.mtg.msaccess.server.MSAccessSourceModelMap._mapForeignKeys(MSAccessSourceModelMap.java:1310)
at oracle.mtg.msaccess.server.MSAccessSourceModelMap.mapSourceModel(MSAccessSourceModelMap.java:204)
at oracle.mtg.msaccess.ui.MSAccessCaptureWizard.map(MSAccessCaptureWizard.java:215)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:350)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:168)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
nullThis is a known problem. It appears that you may be trying to map a non supported relationship. The OMWB does not support relationships based on queries, only queries based on tables are supported. To get around you hanging problem remove the non supported query and regenerate the xml file. Now try a capture and mapping phase. Hope this helps you get around your problem.
null -
Oracle 11gR2 support in SQL Data Modeler
Hi ,
I am using SQL DM 3.0.0.665. I need your thoughs on following.
We find some interesting features in Oracle 11gR2, but I am trying to figureout, which of those are feasible on SQL data Modeler.
Eg. Virtual Column on table definition. Are we able to model this in SQL data Modeler?
What is the best way to do that?
Any idea?
Thanks in helping us out.Hi,
If you don't set the datatype (i.e. leave it as "unknown", or set it back to "unknown"), it will generate
TEST_V AS ( CASE WHEN EVENT_NAME = 'XXXX' THEN 'MMMM' ELSE 'KKKK' END )
The Oracle 11gR2 documentation for the virtual_column_definition clause notes that "The keyword VIRTUAL is optional and for syntactic clarity."
So the fact that Data Modeler does not output the keyword VIRTUAL does not make any difference to the effect of the SQL statement.
David -
Unable to Create Oracle Model When Migrating from access 2000 to Oracle
Hi ,
I am migrating an access 2000 Database to Oracle 9i using Oracle Migration Workbench .
I was sucessful in creation of Source Model ,but when I try to create the Oracle Data Model - Oracle Workbench
HAngs . In short the Oracle Model creation log screen hangs .
If any body has faced any similar please help me out .
Please suggest a work around for this problem .
Thanks in Advance
ArunArun,
Can you provide a reproducible test case so that we can confirm the behavior here and log a bug? More detail can be found in the log/Error.log in case there is a java exception that is being thrown.
Regards,
Turloch
Oracle Migration Workbench Team -
How do i change column names in oracle model?
Hi,
I am performing a migration from SQL SERVER 7.0 to Oracle 8.1.7.
I have tables that have tables in SQL SERVER with column names
that are "TYPE" and "BODY".(These are generally TEXT datatype
columns that need to be converted to LONG in Oracle.We need
these to be LONG datatype in Oracle because of an application we
are using. LOBS cannot be allowed)
The migration utility renames these columns as "TYPE_"
and "BODY_" and creates the tables in the Oracle Database.
I need to have these tables in Oracle with the same column names
viz. "TYPE" and "BODY" .
I can create new tables in Oracle with the column names "TYPE"
and "BODY" but cannot change the options in the migration
workbench for this.
Is there any option or any workaround I can use to change the
column names in the Oracle model?or set the options so that the
Oracle model tables donot modify these column names?
Thanks in advance for all the help.
MandarThe words 'TYPE' and 'BODY' are reserved Oracle words. Its best
to go along with what the workbench has suggested. If you have
to keep the original names of the columns trying wrapping double
quotes around them after the data migration is complete. This
may cause a case sensitivity or referential problem later on
though. -
Tables are not coming to oracle model from sqlserver 2000 while using OMWB
Hi,
I am using oracle migration workbench to migrate SQL Server 2000 to oracle 9i. When �capture source database and create the oracle model� is run. only tablespace and users coming to Oracle model from sql server. Table are not coming. These table are owned by dbo in sql server and
All other users in the database has full privilege on this tables. Do I need to some setup to get this tables
In oracle model.
Thanks
HarishTry the following
|| This script sets the "dbo" to have the "sa" login.
|| NOTE: Server settings for the SQL Server instance must be set to
||"Allow modifications to be made directly to the system catalogs".
|| This is found under Server Setttings tab for server properties.
UPDATE sysusers
SET sid = (SELECT sid FROM master..sysxlogins WHERE name = 'sa')
WHERE name = 'dbo' -
Database creation in oracle 9i
can any one tell me step of database creation in oracle 9i
i try many times from 2 days through script because my DBCA is not open
when i click it. DBCA created orcl during instalation but now
it is not running. will i have to install it ?
1)i add db_name=mukesh below db_name=orcl and run script but errors
2)i crete initm.ora by copy init.ora and change db_name=orcl by db_name=mukesh
in initm.ora but errors
1)when i use init.ora without adding db_name=mukesh
i also change undo_management by AUTO to manual i get
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> create database mukesh
2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
3 logfile
4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
create database mukesh
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01504: database name 'mukesh' does not match parameter db_name 'orcl'
after that i add db_name=mukesh below db_name=orcl
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> create database mukesh
2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
3 logfile
4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
create database mukesh
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: controlfile could not be created
ORA-00202: controlfile: 'D:\oracle\oradata\orcl\CONTROL01.CTL'
ORA-27038: skgfrcre: file exists
OSD-04010: <create> option specified, file already existsHi,
If you getting a problem with DBCA go for manually process:-
I had listed steps which I follow
Step 1: Decide on Your Instance's System Identifier (SID)
Step 2: Create the Initialization Parameter File
Note:- Name the copied init.ora file init<SID>.ora because this is the default naming convention that the Oracle server looks for when it tries to start up the instance ORACLE_HOME/dbs directory (exists over the prefered path)
Edit this file's parameters so that your database and your instance will run effectively on your system.
DB_NAME Must be set to a text string of eight characters or less. During database creation, the value assigned to DB_NAME is recorded in the database's datafiles, redo log files, and control files. If, when you attempt to start the database instance, the value of DB_NAME as recorded in the initialization parameter file and the database name in the control files are not the same, the database will not start.
DB_DOMAIN A text string that specifies the network domain where the database is created.
CONTROL_FILES Is assigned the comma-separated list of control file names to use for the new database. When you execute the CREATE DATABASE statement, the control files listed as values assigned to this parameter are created. If you fail to specify a filename for the CONTROL_FILES parameter, Oracle creates a file with a default operating system dependant filename.
DB_BLOCK_SIZE Specifies the standard block size of the database. This size is used in the creation of the system tablespace and by default in any other tablespaces created. Take care when determining what this value should be because after the database is created, the value cannot be changed.
UNDO_MANAGEMENT Determines whether the database starts in automatic undo management mode. A value of AUTO enables automatic undo management; MANUAL enables manual undo management mode. In 9i, AUTO is suggested, but MANUAL is default.
UNDO_TABLESPACE When the instance starts in automatic undo management mode, it needs to have a tablespace in which to store its undo information. The default is SYS_UNDOTBS and is automatically created if you execute a CREATE DATABASE statement with the UNDO_MANAGEMENT initialization parameter set to AUTO and no UNDO TABLESPACE statement in the CREATE DATABASE statement.
Step 3: Connect to and Start the Instance
Connect to the instance as SYSDBA either using operating system authentication or the password file method of authentication and start up the instance using the STARTUP command.
sqlplus '/ as sysdba'
If your parameter file is not in the default location or is not named init<SID>.ora, you may need to specify the PFILE clause in the STARTUP command for the instance to start.
Because you do not yet have a database attached to the instance, you need to start up the instance in NOMOUNT state:
startup nomount;
The instance is now started and ready for the CREATE DATABASE command.
Step 4: Issue the CREATE DATABASE Statement
create database mydb1 controlfile reuse
Logfile
Group 1 ('/mydb1/log1/log01a.log',
'/mydb2/mydb1/log01b.log') size 50M,
Group 2 ('/mydb1/log1/log02a.log',
'/mydb2/log1/log02b.log') size 50M,
Group 3 ('/mydb1/log1/log03a.log',
'/mydb2/mydb1/log03b.log') size 50M
Datafile '/mydb1/mydb1_system.dbf' 250M
AUTOEXTEND ON MAXSIZE 500M
Undo tablespace mydb1_undo1
Datafile '/mydb/mydb1/mydb1_undo1.dbf' 50M
Default temporary tablespace mydb1temp tempfile
'/mydb/mydb1/mydb1temp1.dbf' size 75M
Extent management local
Character set US7ASCII
MAXLOGFILES 10
MAXLOGMEMBERS 10
MAXLOGHISTORY 1
MAXDATAFILES 500;
Thanks
Pavan Kumar N -
How to see data modeller reports in sql developer?
How to see data modeller reports in sql developer?
1) export your design to existing schema in Oracle database
2) define connection to that schema in SQL Developer
3) find "Data Modeler Reports" in reports window of SQL Developer - probably "design rules" are more interesting here
Philip -
Unable to create oracle model.
Migrating from Informix 7.31 to Oracle ( OMWB- 9.2.0.1.2).
Captured the source model and the source model object count ok.
While creating the "ORACLE MODEL" , it maps few tablespaces and then hangs forever. Could not see any visible errors.
log file :
** Oracle Migration Workbench
** Release 9.2.0.1.2 Production
** ( Build 20020910 )
** ORACLE_HOME: I:\oracle\oramig90
** user language: en
** user region: US
** user timezone:
** file encoding: Cp1252
** java version: 1.3.1_01
** java vendor: Sun Microsystems Inc.
** o.s. arch: x86
** o.s. name: Windows 2000
** o.s. version: 5.0
** Classpath:
I:\oracle\oramig90\Omwb\olite\Olite40.jar;C:\Program Files\Oracle\jre\1.3.1\lib\rt.jar;C:\Program Files\Oracle\jre\1.3.1\lib\i18n.jar;I:\oracle\oramig90\Omwb\jlib;I:\oracle\oramig90\Omwb\jlib\Omwb.jar;I:\oracle\oramig90\Omwb\jlib\xdb.jar;I:\oracle\oramig90\Omwb\jlib\oembase-9_2_0.jar;I:\oracle\oramig90\Omwb\plugins\SQLServer6.jar;I:\oracle\oramig90\Omwb\plugins\SQLServer7.jar;I:\oracle\oramig90\Omwb\plugins\SQLServer2K.jar;I:\oracle\oramig90\Omwb\plugins\Sybase11.jar;I:\oracle\oramig90\Omwb\plugins\Sybase12.jar;I:\oracle\oramig90\Omwb\plugins\MSAccess.jar;I:\oracle\oramig90\Omwb\plugins\MySQL.jar;I:\oracle\oramig90\Omwb\drivers\mm.mysql.jdbc-1.2a;I:\oracle\oramig90\Omwb\plugins\Informix7.jar;I:\oracle\oramig90\Omwb\plugins\Informix9.jar;I:\oracle\oramig90\Omwb\jlib\Informix7Core.jar;I:\oracle\oramig90\Omwb\jlib\Informix9Core.jar;I:\oracle\oramig90\Omwb\drivers\ifxjdbc.jar;I:\oracle\oramig90\Omwb\plugins\db2400v4r5.jar;I:\oracle\oramig90\Omwb\drivers\jt400.jar;I:\oracle\oramig90\Omwb\drivers\db2java.zip;I:\oracle\oramig90\Omwb\plugins\UDB6.jar;I:\oracle\oramig90\Omwb\jlib\UDB6Core.jar;I:\oracle\oramig90\Omwb\plugins\UDB7.jar;I:\oracle\oramig90\Omwb\jlib\UDB7Core.jar;I:\oracle\oramig90\lib\xmlparserv2.jar;I:\oracle\oramig90\rdbms\jlib\xsu12.jar;I:\oracle\oramig90\jdbc\lib\classes12.jar;I:\oracle\oramig90\jdbc\lib\nls_charset12.jar;I:\oracle\oramig90\lib\vbjorb.jar;I:\oracle\oramig90\Omwb\jlib\netcfg.jar;I:\oracle\oramig90\jlib\ewt3.jar;I:\oracle\oramig90\Omwb\jlib\ewtcompat-3_3_15.jar;I:\oracle\oramig90\jlib\share.jar;I:\oracle\oramig90\jlib\help3.jar;I:\oracle\oramig90\jlib\oracle_ice5.jar;I:\oracle\oramig90\jlib\kodiak.jar
** Started : Wed Mar 12 16:22:09 PST 2003
****** Operating System Information ********
name : Windows 2000
version : 5.0
** Workbench Repository : Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Repository Connection URL: jdbc:oracle:thin:@cv-csommer02:1521:oemrep
** The following plugins are installed:
** Informix Dynamic Server 9.1 Plugin, Release 9.2.0.1.2 Beta
** Informix Dynamic Server 7.3 Plugin, Release 9.2.0.1.2 Production
** Active Plugin : Informix7
java.lang.NullPointerException
at oracle.sysman.vbo.VboDataSourceUpdateExceptionHelper.write(VboDataSourceUpdateExceptionHelper.java:46)
at oracle.sysman.vbo.VboDataSourceUpdateExceptionHelper.insert(VboDataSourceUpdateExceptionHelper.java:53)
at oracle.sysman.vbo.VboDataSourceUpdateException.toString(VboDataSourceUpdateException.java:39)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTablespace(OracleModelImpl.java:3558)
at oracle.mtg.oracleModel.server.OracleModelImpl.insertTablespace(OracleModelImpl.java:3410)
at oracle.mtg.informix7.server.Informix7SourceModelMap._mapTablespaces(Informix7SourceModelMap.java:1351)
at oracle.mtg.informix7.server.Informix7SourceModelMap.mapSourceModel(Informix7SourceModelMap.java:184)
at oracle.mtg.informix7.ui.Informix7CaptureWizard.map(Informix7CaptureWizard.java:415)
at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:465)
at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:103)
at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
Appreciate feed back
Thanks.Periyaswamy,
You will need to log a support request to get development to investigate further. We may need a dump of your Workbench repository to narrow down the issue.
Support Instructions:
http://otn.oracle.com/support/tech/migration/workbench/content.html
Donal -
WHEN MIGRATING SQLSERVER REPOSITORY TO ORACLE MODEL USING OraMigWrkBnch
I have captured the the SQLServer database to the omwb repository and migrated it to the Oracle Model. Some of the views,
triggers and stored procedures are not migrated and the followind messages are provided.
Has somebody done this before and got the same messages?, does someone know how to solve this problem(s)?, is there a
standard way?
Please help, anyone.
VIEW
[1] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 106. Encountered:
from
TRIGGERS
[2] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of
[3] Error occured on line 17:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 17, column 3. Encountered:
update
[4] Error occured on line 183:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 183, column 5. Encountered:
cross
[5] Error occured on line 7:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 7, column 1. Encountered:
create
STORED PROCEDURES
[6] Error occured on line 26:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 26, column 5. Encountered:
update
[7] Error occured on line 163:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 163, column 17. Encountered:
where
[8] Error occured on line 66:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 66, column 47. Encountered:
@ac_any_type_code
[9] Error occured on line 69:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 69, column 28. Encountered: =
[10] Error occured on line 70:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 70, column 7. Encountered: (
[11] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 1. Encountered:
[12] Error occured on line 64:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 64, column 5. Encountered:
delete
[13] Error occured on line 60:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 60, column 35. Encountered:
as
[14] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 55. Encountered:
create
[15] Error occured on line 65:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 65, column 7. Encountered:
from
[16] Error occured on line 56:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 56, column 51. Encountered: +
[17] Error occured on line 112:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 112, column 1. Encountered:
null
[18] Error occured on line 27:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 27, column 3. Encountered:
select
[19] Error occured on line 74:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 74, column 10. Encountered:
and
[20] Error occured on line 19:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 19, column 6. Encountered: ,
[21] Error occured on line 194:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 194, column 10. Encountered:
exists
[22] Error occured on line 269:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 269, column 9. Encountered:
declare
[23] Error occured on line 49:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 49, column 7. Encountered:
order
[24] Error occured on line 244:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 244, column 41. Encountered:
rtrimThe following trigger created:
CREATE OR REPLACE TRIGGER tr_prs16_ins
AFTER INSERT
ON progress_state_16
FOR EACH ROW
DECLARE
/* COMMENT */
BEGIN
BEGIN
INSERT INTO logtable
SELECT :NEW.code, sf_language.code,
RPAD(CASE WHEN fg1.id IS null THEN '' ELSE RTRIM(fg1.id) END ||
CASE WHEN pg1.id IS null THEN '' ELSE ': ' || RTRIM(pg1.id) END ||
CASE WHEN fg2.id IS null THEN '' ELSE ', ' || RTRIM(fg2.id) END ||
CASE WHEN pg2.id IS null THEN '' ELSE ': ' || RTRIM(pg2.id) END ||
CASE WHEN fg3.id IS null THEN '' ELSE ', ' || RTRIM(fg3.id) END ||
CASE WHEN pg3.id IS null THEN '' ELSE ': ' || RTRIM(pg3.id) END ||
CASE WHEN fg4.id IS null THEN '' ELSE ', ' || RTRIM(fg4.id) END ||
CASE WHEN pg4.id IS null THEN '' ELSE ': ' || RTRIM(pg4.id) END ||
CASE WHEN fg5.id IS null THEN '' ELSE ', ' || RTRIM(fg5.id) END ||
CASE WHEN pg5.id IS null THEN '' ELSE ': ' || RTRIM(pg5.id) END ||
CASE WHEN fg6.id IS null THEN '' ELSE ', ' || RTRIM(fg6.id) END ||
CASE WHEN pg6.id IS null THEN '' ELSE ': ' || RTRIM(pg6.id) END ||
CASE WHEN fg7.id IS null THEN '' ELSE ', ' || RTRIM(fg7.id) END ||
CASE WHEN pg7.id IS null THEN '' ELSE ': ' || RTRIM(pg7.id) END ||
CASE WHEN fg8.id IS null THEN '' ELSE ', ' || RTRIM(fg8.id) END ||
CASE WHEN pg8.id IS null THEN '' ELSE ': ' || RTRIM(pg8.id) END ||
CASE WHEN fg9.id IS null THEN '' ELSE ', ' || RTRIM(fg9.id) END ||
CASE WHEN pg9.id IS null THEN '' ELSE ': ' || RTRIM(pg9.id) END ||
CASE WHEN fg10.id IS null THEN '' ELSE ', ' || RTRIM(fg10.id) END ||
CASE WHEN pg10.id IS null THEN '' ELSE ': ' || RTRIM(pg10.id) END ||
CASE WHEN fg11.id IS null THEN '' ELSE ', ' || RTRIM(fg11.id) END ||
CASE WHEN pg11.id IS null THEN '' ELSE ': ' || RTRIM(pg11.id) END ||
CASE WHEN fg12.id IS null THEN '' ELSE ', ' || RTRIM(fg12.id) END ||
CASE WHEN pg12.id IS null THEN '' ELSE ': ' || RTRIM(pg12.id) END ||
CASE WHEN fg13.id IS null THEN '' ELSE ', ' || RTRIM(fg13.id) END ||
CASE WHEN pg13.id IS null THEN '' ELSE ': ' || RTRIM(pg13.id) END ||
CASE WHEN fg14.id IS null THEN '' ELSE ', ' || RTRIM(fg14.id) END ||
CASE WHEN pg14.id IS null THEN '' ELSE ': ' || RTRIM(pg14.id) END ||
CASE WHEN fg15.id IS null THEN '' ELSE ', ' || RTRIM(fg15.id) END ||
CASE WHEN pg15.id IS null THEN '' ELSE ': ' || RTRIM(pg15.id) END ||
CASE WHEN fg16.id IS null THEN '' ELSE ', ' || RTRIM(fg16.id) END ||
CASE WHEN pg16.id IS null THEN '' ELSE ': ' || RTRIM(pg16.id) END
, 255, ' ')
from dual
left outer join function_group fg1 on fg1.code = :new.function_group_1_code
left outer join function_group fg2 on fg2.code = :new.function_group_2_code
left outer join function_group fg3 on fg3.code = :new.function_group_3_code
left outer join function_group fg4 on fg4.code = :new.function_group_4_code
left outer join function_group fg5 on fg5.code = :new.function_group_5_code
left outer join function_group fg6 on fg6.code = :new.function_group_6_code
left outer join function_group fg7 on fg7.code = :new.function_group_7_code
left outer join function_group fg8 on fg8.code = :new.function_group_8_code
left outer join function_group fg9 on fg9.code = :new.function_group_9_code
left outer join function_group fg10 on fg10.code = :new.function_group_10_code
left outer join function_group fg11 on fg11.code = :new.function_group_11_code
left outer join function_group fg12 on fg12.code = :new.function_group_12_code
left outer join function_group fg13 on fg13.code = :new.function_group_13_code
left outer join function_group fg14 on fg14.code = :new.function_group_14_code
left outer join function_group fg15 on fg15.code = :new.function_group_15_code
left outer join function_group fg16 on fg16.code = :new.function_group_16_code
left outer join progress pg1 on pg1.code = :new.progress_1_code
left outer join progress pg2 on pg2.code = :new.progress_2_code
left outer join progress pg3 on pg3.code = :new.progress_3_code
left outer join progress pg4 on pg4.code = :new.progress_4_code
left outer join progress pg5 on pg5.code = :new.progress_5_code
left outer join progress pg6 on pg6.code = :new.progress_6_code
left outer join progress pg7 on pg7.code = :new.progress_7_code
left outer join progress pg8 on pg8.code = :new.progress_8_code
left outer join progress pg9 on pg9.code = :new.progress_9_code
left outer join progress pg10 on pg10.code = :new.progress_10_code
left outer join progress pg11 on pg11.code = :new.progress_11_code
left outer join progress pg12 on pg12.code = :new.progress_12_code
left outer join progress pg13 on pg13.code = :new.progress_13_code
left outer join progress pg14 on pg14.code = :new.progress_14_code
left outer join progress pg15 on pg15.code = :new.progress_15_code
left outer join progress pg16 on pg16.code = :new.progress_16_code
cross join sf_language
END;
END TEST_IF;
given the following tables exist:
create table logtable(newcode varchar2(10),
sfcode varchar2(10),
other varchar2(10)
create table sf_language(code varchar2(10),
id varchar2(10));
create table progress(code varchar2(10),
id varchar2(10));
create table function_group(code varchar2(10),
id varchar2(10));
create table progress_state_16 (code varchar2(10),
function_group_1_code varchar2(10),
function_group_2_code varchar2(10),
function_group_3_code varchar2(10),
function_group_4_code varchar2(10),
function_group_5_code varchar2(10),
function_group_6_code varchar2(10),
function_group_7_code varchar2(10),
function_group_8_code varchar2(10),
function_group_9_code varchar2(10),
function_group_10_code varchar2(10),
function_group_11_code varchar2(10),
function_group_12_code varchar2(10),
function_group_13_code varchar2(10),
function_group_14_code varchar2(10),
function_group_15_code varchar2(10),
function_group_16_code varchar2(10),
progress_1_code varchar2(10),
progress_2_code varchar2(10),
progress_3_code varchar2(10),
progress_4_code varchar2(10),
progress_5_code varchar2(10),
progress_6_code varchar2(10),
progress_7_code varchar2(10),
progress_8_code varchar2(10),
progress_9_code varchar2(10),
progress_10_code varchar2(10),
progress_11_code varchar2(10),
progress_12_code varchar2(10),
progress_13_code varchar2(10),
progress_14_code varchar2(10),
progress_15_code varchar2(10),
progress_16_code varchar2(10))
SQL> insert into progress_state_16 values ('1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1');
1 row created.
SQL> select * from logtable;
no rows selected
SQL>
The data to make the select produce a result was not added. I hope your database difficulties are resolved. I hope the fact that the trigger builds gives you more confidence.
Regards,
Turloch
Oracle Migration Workbench Team -
Error occured during creation of oracle snapshot
Dear All,
I am getting error messange in my SAP Inbox in t.code SBWP.
In SBWP, the nessage text is as follow.
=============================
Error occured during creation of oracle snapshot (Creation aborted)
(Log see also transaction SLG1, Object ORASNAP, Subobject ORASNAPCR)
Oracle snapshot creation program aborted
Error while copying from oracle view to SAP table
Oracle view SAP$KCBFWAIT
SAP table ORA_SAPKCBFWAIT
Return code (ORA-....) 942
You tried to work with the name of a table or view that does not exist in the database
The table does not exist on the database. A table name or view name was used that does not exist on the database.
===============================
I also check in T.Code SLG1, but i am not getting the reason for this error.
Regards,
NisitHi,
Check each of the following :
the spelling of the table or view name.
that a view is not specified where a table is required.
that an existing table or view name exists.
Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.
Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.
Regards
Krishna
Maybe you are looking for
-
How to Create SYSTEM GROUP in XI
Hi, all My question is how to create system group in XI 3.0 I goto RZ21 then Technical Infrastructure --> Configure Central system --> Maintain system Group Then Create system Group name ExchangeInfrastructure_System After Hit enter, its not look lik
-
The column name "MATNR" is unclear .
HI when i execute the program , system show the error 'The column name "MATNR" is unclear .' how to clear this .pls revert me the program is *& Report YTEST7 REPORT YTEST10. TABLES : MARC. PARAMETER: P_PLANT LIKE MARC-WERKS, P_STORE LI
-
Connecting my ps3 to fatality?
i like to connect my ps3 to my fatality soundcard and hear my ps3 sound in windows i got an obtical cable and hooked it up both of em together but im not sure where to go fromt here becuase im a bit clueless what to do in windows and im not exactly s
-
What is unique in ABAP which is not in other oops languages?
What is unique in ABAP which is not in other oops languages?
-
Whatsapp notification push problem
hi, my girlfrind has iphone 4 and one day the whatsapp notification stop working i google it and try many things to do like: reinstall the whatsapp app restore network settings restore all settings the version of this iphone was 7.1.1 and I thought t