Migration from of database and app from SQL server 2005 to Oracle 10g

Hello Every body,
Lately, I have been requested to migrate one inhouse developed hub application from SQL server 2005 to Oracle 10g. The objective is to move application and also the database to Oracel 10g.
Here is the current platform:
OS Win 2008 64 bit
JDK 1.4.2
JBoss 3.2.5
EJB 2.1
My question is what kind of issues you guys see in above upgrade. As far I know, Schema and Database migration can be done by Oracle workbench. Oracle 10g supports JDK 1.4. Oracle 10g also supports EJB 2.1.
Anything, I need to take into consideration or any risks or problems. I would like to list down all the risks, and accordingly, I am thinking of start the upgrade.
Thanks in advance.
Regards,
Zeeshan Qureshi

In general the Java/J2EE application needs work in the following categories:
1. Connection Settings: Use Oracle JDBC drivers, create new data sources, connection pools and what not. Disable AUTOCOMMIT for Oracle JDBC Connections.
2. For EJBs, you should regenerate the entity beans because some object names/column names might have changed in oracle.
3. Any custom SQL that is in use in the EJBs will have to be ported to Oracle just as you would do in stored procedures and other applications.
4. For Java front-ends, if you are using callouts to stored procedures and expecting result sets then they will require some changes. You need to modify the stored procedure call signature to include the REF CURSOR variables and process them.
5. Changes to any SQL Server specific database functions manipulating character/date data will be required.
6. CLOB/BLOB/XML apis are different across databases so if you are using those then focus on them as well.
7. Retreiving Auto/generated keys from database also may need changes from what I have seen.
Hope this helps..
Regards
Prakash
NOTE: Not sure why but my posts from yesterday are not visible today. Even worse is that I can see them in one browser (FireFox) but not in Internet explorer. Crazy browser day I am having.

Similar Messages

  • Migration from SQL Server 2005 to Oracle 10g

    Dear buddies,
    I need to migrate my tables with data from SQL Server 2005 to Oracle 10g. How can I do it in the best possible way?
    Please guide me.
    Nith

    Nith,
    I doubt if there is one best practice that can cover all cases of migrating data from sql server to Oracle. l generally find various factors case-by-case that make me chose one approach over the other. Without considering the business case and environment specific factors, some of the things I would like to know would be: The data types of the tables columns, table sizes, number of tables and if this is a one time process or a recurring process.
    One of the easiest (some times rather pesky) process would be:
    -Dump source data (Sql Server data) into flat files, csv or any preferred format
    -Setup a set of staging set of tables in the destination DB (Oracle in your case). You can setup the stage tables to enforce data-types, value sets and even some level of integrity constraints or any data logic or what ever you would like to filter out. Load the flat file data into a set of Oracle stage tables (Sql*Loader would be a good candidate)
    -You can always move data from these stage tables to you application tables
    You can script this whole process to run as batch or on demand or how ever you would like.
    I am sure you can google and find a bunch of proprietary as well as open source tools to do the same with little to a lot of work.
    good luck!

  • I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g dat

    I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g database. So, i have installed both databases on different pc's on windows platform. MS SQL Server 2005 on windows XP and Oracle 10g on windows 2003.
    I have configure Golden Gate step by step by following oracle guideline:
    http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html
    When i run following command on target (oracle 10g):
    replicat paramfile dirprm/inload.prm
    I encounterd following error:
    2012-05-21 20:27:06 ERROR OGG-00014 Unrecognized parameter: USERID. Paramete
    r could be misspelled or unsupported.
    2012-05-21 20:27:06 ERROR OGG-01668 PROCESS ABENDING.
    My INLOAD FILE Content are:
    SPECIALRUN
    END RUNTIME
    USERID gg_user, PASSWORD welcome1
    EXTFILE D:\oracle\gg\dirdat\ex
    SOURCEDEFS D:\oracle\gg\dirdef\emp.def
    MAP hrschema.emp, TARGET gg_user.emp;
    Can you plz suggest me that where i am wrong?
    Thanks advance to all experts.

    amardeep.sidhu wrote:
    That should work, just in case try adding DBLOGIN before USERID
    DBLOGIN USERID x..No needed in the param file i think.its not needed at all you are right, but what else could it be? Besides any special unseen character :P

  • How to Select from Oracle 8i database and insert into Sql Server 2005 datab

    Hi how to Select from Oracle 8i and insert into Sql Server 2005.
    Source db as Oracle 8i
    Target db as Sql Server 2005.
    I need to select one table data from Oracle 8i & insert into Sql Server 2005
    Thanks

    Thanks Khan..
    Is there is any query (OPENQUERY) available for that?
    Regards..

  • Problem: Database Migraton from Sql Server 2005 to Oracle 10g

    Hi all
    i am trying to migrate sql server 2005 Database to Oracle 10g, Using Oracle Sql developer 3.0.04
    Whole Daabase including Schemas,user-passwordTables,Views,Indexes,Functions,Procedures etc. migrated sucesfuly
    But All Procedures are not correctly migrated
    many of procedures showing errors...
    how to migrate procedures correctly?
    SO.....
    How To Resolve thios issue?
    please help me out
    thanks
    Edited by: user10226917 on Jun 8, 2011 1:42 AM

    Hi,
    I have tested using the following -
    SQL*Developer Version 3.0.04 Build MAIN-04.34
    and did the following -
    Tools - Migration - Translation Scratch Editor
    - made sure I was using the 'Microsoft SQL Server T-SQL to PL/SQL ' option in the 'Translateor' tab.
    Then in the worksheet put in your entry -
    PRINT '@HID=' + CAST(@HID AS VARCHAR(100))
    This is then translated to the following -
    BEGIN
    DBMS_OUTPUT.PUT_LINE('@HID=' || CAST(v_HID AS VARCHAR2(100)));
    END;
    Is this what you did and the entry you typed into the scratch pad ?
    If not, can you give the full code that gave the error -
    DBMS_OUTPUT.PUT_LINE('@HierID=' || CAST(v_HierID AS VARCHAR2(100)));
    DBMS_OUTPUT.PUT_LINE('@NodeType=' || CAST(v_NodeType AS VARCHAR2(100)));
    DBMS_OUTPUT.PUT_LINE('@NodeTypeReqd=' || CAST(v_NodeTypeReqd AS VARCHAR2(100)));
    Error(36,64): PLS-00103: Encountered the symbol "(" when expecting one of the following: . ) @ % The symbol ")" was substituted for "(" to continue. gives error in compiling error
    Regards,
    Mike

  • Sql server 2005 to Oracle 10g migration

    Hi all,
    Is there any tool to migrate a sql server 2005 database to Oracle 10G ?
    I tried the sql developer migration option but I am unable to load the .ocp file.
    The option to load the .ocp file is not there
    Please advice....

    Great....
    I hope there may be steps in oracle workbench documentation regarding conversion.
    http://www.oracle.com/technology/tech/migration/workbench/htdocs/101040/user_guide/book.pdf
    You have to read in the above link. I am sure, there should be something regarding this too.
    Regards
    Girish Sharma
    Edited by: Girish Sharma on Dec 22, 2009 12:30 PM
    Edited by: Girish Sharma on Dec 22, 2009 12:33 PM

  • SQL SERVER 2005 to Oracle 10g r 2

    Hi all,
    I'm getting an "error" when I'm trying to convert a sql server 2005 database to a oracle 10g database.
    It seems to be right in te convert step:
    Copying Model:     1
    Transforming identifiers: 1
    Transformation Result: 16
    Transformed successfully:     1
    but there is no converted model and no log registries.
    the migrations user roles and privileges are:
    GRANT CONNECT, RESOURCE, DBA,
    ALTER ANY TRIGGER, CREATE ROLE, CREATE SESSION, CREATE USER, CREATE VIEW, CREATE PUBLIC SYNONYM
    TO migrations WITH ADMIN OPTION;
    GRANT ALTER ANY ROLE, ALTER ANY SEQUENCE, ALTER ANY TABLE, ALTER TABLESPACE,
    COMMENT ANY TABLE, CREATE ANY SEQUENCE, CREATE ANY TABLE,
    CREATE ANY TRIGGER, CREATE TABLESPACE, DROP ANY
    SEQUENCE, DROP ANY TABLE, DROP ANY TRIGGER, DROP TABLESPACE, DROP USER, DROP ANY
    ROLE, GRANT ANY ROLE, INSERT ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE TO
    migrations;
    And I'm using Sql Developer Version 2.1.1.64 in a Win XP 64bits computer
    Could you please help me with this problem...
    Thanks,
    Manuel

    Manual,
    Do you see the same problem if you try the migration in stages ?
    Could you -
    - click on the SQL*Server database to be migrated and choose 'Capture Microsoft SQL*Server'
    - does that complete successfully ?
    - if right click on the captured model and choose 'Show log messages' is anything displayed ?
    - if the capture is okay, then right click and choose 'Convert to Oracle Model'
    - does this create a converted model ? If you right click and choose 'Show log messages' is anything displayed ?
    if you still have problems could you try deleting the migration repository then creating a new one ?
    Regards,
    Mike

  • MIGRATE ODI FROM SQL SERVER 2005 TO ORACLE

    Hello,
    Presently we have our master and work repositories in sql server 2005.We also have our source tables in sql server 2005.We are planning to migrate our repositories from sql server 2005 to oracle 10g.We are also migrating our source tables from sql server 2005 to oracle.Do we need to redo all our development in oracle.Can any body help with the steps to migrate our repositories and development work from sql server 2005 to oracle 10 g.
    Thanks,
    Revanth

    dbf it's not sql server.
    >
    SQL Server databases have three types of files:
    Primary data files
    The primary data file is the starting point of the database and points to the other files in the database. Every database has one primary data file. The recommended file name extension for primary data files is .mdf.
    Secondary data files
    Secondary data files make up all the data files, other than the primary data file. Some databases may not have any secondary data files, while others have several secondary data files. The recommended file name extension for secondary data files is .ndf.
    Log files
    Log files hold all the log information that is used to recover the database. There must be at least one log file for each database, although there can be more than one. The recommended file name extension for log files is .ldf.
    >
    for dbf to oracle see http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:711825134415

  • Migrate tables from Ms SQL Server 20005 to Oracle 10g

    Hi all,
    I am trying to migrate 10 table from Ms SQL Server 2005 to Oracle 10g. I started creating a SSIS package to transfer them but it always fail when it tries to create the tables.
    Questions:
    - Is there any other way to import Ms SQL Server 2005 tables to Oracle
    - also I need to create a scirp that will update these tables periodically
    any ideas?
    Thanks

    YingKuan is right. jsut to expound a little further. This will also allow you to have have scripts which you can run again and again or even schedule them regularly too.
    B

  • Siebel database migration from Sql Server 2005 to Oracle 11g RAC.

    Hi,
    We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?
    The current configurations are:
    Application : Siebel
    database : SQL Server 2005
    The hardware can be changed if needed. Can you please suggest the best approach ?
    Thanks,
    Naveen.
    Edited by: Naveen Kumar C on Mar 18, 2011 9:10 PM
    Edited by: Naveen Kumar C on Mar 18, 2011 11:44 PM

    Hi Naveen,
    We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?You will need much more which suggestions.
    You will need a Siebel professional which has done this type of migration. Migrating the Database is not a task so hard, after migrating your environment should be functional and healthy it is usually the task problematic.
    The hardware can be changed if needed. Can you please suggest the best approach ?We can recommend the minimum recommended, but this documentation already does, you need to do a analysis on your environment and ask a vendor Siebel tell the which is recommended for you and how to find the best "number" for you, in your case is very hard because everything changes.
    Check this Step-by-Step
    Migrating a Microsoft SQL Server Database to Oracle Database 11g
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    Regards,
    Levi Pereira

  • Migration from SQL SERVER 2008 to Oracle 10g issues.

    Hi ,
    I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
    First, I was following a tutorial
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
    My first question is how can I either add this option or is there a new way to load the capture script ?
    Then I use the migration wizard and after following everything, I had the migration complete message from the application.
    When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
    do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
    What do I do in this case ?
    Thanks !

    Thank you for your reply.
    After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
    Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
    Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
    Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
    Edited by: 873671 on Jul 20, 2011 7:03 AM
    Edited by: 873671 on Jul 20, 2011 7:19 AM

  • Migrating From Sql Server 2005 to Oracle (Uniqueidentifier Issue)

    If i want to migrate from SQL SERVER 2005 to Oracle, How Oracle will deal with my primary key columns in almost all tables having datatype of UNIQUEIDENTIFIER ???
    is there any concept of uniqueidentifier in Oracle same as in SQL SERVER ????
    Regards

    When you migrate your SP's from SQL Server to Oracle the parser basically does 'as good a job as it can' to migrate them.
    Luckily, using SQL Developer you are able to look at the source SP and converted SP in windows next to each other and see what oracle has done to them.
    You can also paste your SQL Server code into a window and ask SQL Developer to translate it to oracle for you. Use the 'Translation Scratch Editor' on the migration menu if this is something that interests you. I was told that the parser used by the Translation Scratch Editor is different to the parser used when migrating the whole database.

  • Migration From SQL Server 2005 to Oracle DB through Oracle SQ Dev Problem

    Hi all,
    we are trying to do a full Migration from MS SQL Server 2005 to Oracle DB 9.2 i
    we are using Oracle SQL Developer V 1.5.3,
    the capturing of the DB and the conversion to the oracle model completed succefully
    however when we try to generate the scripts from the converted model
    the script generation hangs on a sequence and no further progress is made (the script generation pop up keeps still on a certain sequence displaying its name, and thats it )
    no error messages are displayed,
    how can we know the reason for this? or atleast find a log for whats happening...
    any suggestions?
    Thank you

    Hi,
    migrating a sequence shouldn't make a problem. I did a quick test. I created this table in SQL Server:
    create table test_seq (col1 int identity(1,1),col2 char(1))
    Then I captured the table, converted the table and generated the script. There was no problem.
    CREATE SEQUENCE succeeded.
    CREATE TABLE succeeded.
    Connected
    TRIGGER test_seq_col1_TRG Compiled.
    As you see, applying the script was also successful.
    I am using Oracle RDBMS 11g, I don't know whether this makes a difference. Do you have any 11g instance available to test it?
    Can you show me one of the sequences that are causing the hang? Is the CREATE SEQUENCE statement already in the generated script, or not? Your table is for sure more complex than my simple example.
    Regards,
    Wolfgang
    Edited by: wkobargs on Jan 13, 2009 3:01 AM

  • DB Migration from MS SQL Server 2005 to Oracle 9i

    Hi Guys
    I want to migrate the data from Microsoft SQL Server 2005 to Oracle 9i.
    Could ou please suggest me the how to proceed.
    I can simply extract the das in CSV format as their are Foreign key , Primary key concept is there. So what will be the best way to proceed ....
    regards
    Macky

    Macky,
    In the coming months we will add support for SQL Server 2005 to the Oracle Migration Workbench. See our statement of direction on OTN for more details.
    If you have extracted the data into a csv file format, you could construct a SQL Loader control file to load this data, assuming you have already created the table on the Oracle side.
    Donal

  • How to transfer database tables from sql server 2000 to oracle 10g

    Hi,
    I have a database and tables in sql server 2000. I have to transfer those data to Oracle 10g. I have installed Oracle warehouse Builder ETL Tool. Using this how can i transfer data. Any help is vary helpful for me.
    Thanks in advance.

    you have to do it using ODBC HS.
    1. Configure ODBC connection through gateway.
    2. Create a initxxx.ora file with HS config.
    restart gateway listener services
    3. on target o/s add entries to your tnsnames.ora
    4. On your target o/s create a db link
    restart listener on target
    cheeck this out.Non-Oracle connection through HS issue
    Edited by: Darthvader-647181 on Jan 29, 2009 2:02 AM

Maybe you are looking for

  • Upgrade to iPhoto 6, keep library on external HD

    I am finally upgrading from iPhoto 2 (go ahead, mock me) to iPhoto 6. Since my internal HD is so small, I keep my entire iPhoto library on my external firewire drive. When I do the install of 6, will I have to move the new library like I did the old

  • Need advice w/ debug scenario

    Hi, I'm developing an ASP.NET MVC 5 app that uses Facebook authentication which means I register my app's URL with Facebook while the app is in development/sandbox mode. When I debug the app locally, it just goes to localhost:{SomePortNumber} as usua

  • SAP E-Commerce 7.0 and Guest Checkout

    Hi, I searched through the forums here on the sdn and also through teh web in general looking for information on implementing Guest Checkout functionality for SAP E-Commerce 7.0. We are looking at adding in Guest Checkout functionality and before we

  • Photoshop Elements 8.0 stopped working

    Hi, I use Photoshop elements 8.0 and for some reason it no longer loads properly. It does open/load but as soon as it gets to the organiser screen it turns itself off. I had been using elements, then 2 hours later went to open it again and this happe

  • Can not install latest ATI mobility Radeon x1600 display driver for my Satellite A100

    Hello, my Satellite A100-704 PSAA9E is equipped with the ATI Mobility Radeon X1600 display graphic card, for which ATI provides a new driver, named Catalyst 8.3. My issue is that when I run the verification software I get a message telling me that dr