Migrate from PostgreSQL to ORACLE XE

I'm upgrading a system from postgreSQL to Oracle.
Problem:
The system is relatively large and has many Boolean variables.
Soon, several mappings using Hibernate boolean type.
There's plenty jasper reports using sql where use Boolean conditions.
EX: "select * from tablel where status" (status = atribute type boolean)
What can I do to migrate without changing the software? except the connection settings, of course.
I have already given up one probed about creating "Object Types".
Does anyone know of a way to create a type, or even simulate the boolean type in Oracle?

Sorry, I did not get it.
There is no tool to do this migration, the only option is to use
SQLite utilities to dump the data into flat files.
Afterwards, work with sql loader to feed the data into oracle.
Thanks
Cheers
MGILIBER

Similar Messages

  • Migration from PostgreSQL to Oracle Database...

    Hi All,
    In one of my setup we are required to migrate our application from PostgreSQL to Oracle Database, Anybody knows this is there any Migration Assistance comes for this job?
    or if we go for manually migration then how to do that? plz. suggest me
    Thanks...

    Hi Darmorgan,
    I try to search on OTN side about the migration tool but if you have any idea pl. share with me...And about the version details that is :
    from postgreSQL8 to Oracle10gR2... and my whole application is going to be migrate....
    Thanks...

  • Migration from Postgresql to Oracle

    Hi,
    I want to migarte Array data type of Postgresql to Oracle.
    I have a table with 3 columns having array data type.
    Can i go with Nested Tables?
    If yes then, Is there any performance loss?
    I have below table in postgre and i want to migrate it in Oracle.
    CREATE TABLE EMP_DETAIL
    2 ( "ID"     Integer PRIMARY KEY,
    3      "NAME"     Text,
    4      "DESCRIPTION" ARRAY,
    5 "CITY_ALLOC" ARRAY,
    6 "LANGUAGE" ARRAY
    Please suggest the best Approach...
    Thanks in advance.

    Hello
    Nested tables is implemented using parent/child table concept with foriegn keys. Since you have more than one column in the table that has an array data type, perhaps you can consider putting the values for those 3 columns in a child table with a foriegn key constraint to the EMP_DETAIL table?. Will be helpful if you don't access the data often or want selective retreival of data from the child table. Here are the reasons why you shouldn't use nested tables as per Tom Kyte and I quote (The related article is here: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8135488196597):
    1) they are parent child tables in disguise but ones that add:
    a 16 byte raw with a unique constraint on the parent table. Most likely you ALREADY HAVE a primary
    key on the parent table and most likely it is smaller.
    a 16 byte raw that you need to index on the child (not auto-indexed, you need to know to do it).
    This is the foreign key and is hidden from you.
    The inability to put many types of constraints on the nested table..
    They are simple parent/child tables - except you lose the ability to access the child table
    directly.
    2) you are NOT storing anything in a "single row". Physically they are a parent child table pair,
    nothing more, nothing less.
    Regards
    Prakash

  • Migrating database from PostgreSql to Oracle 10g

    Hi
    can anybody help me by providing steps to migrating database from PostgreSql to Oracle 10g. its very urgent requirement. so please let me know if anyone know about this setps.
    thanks in advance.
    jayesh
    cignex technology pvt ltd

    NPD wrote:
    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Migrating from mssql to oracle or postgres to oracle

    I have a database driven web application written in J2EE. Currently this application works with Microsoft SQL 7.0 and Postgres 7.3. It uses various datatypes and also has many stored procedures. I will be migrating actual data, table definations and stored procedures.
    Can you please tell me whether to go for MS SQL to oracle migration or postgresql to oracle?

    Hi Margaret,
    The Oracle Migration Workbench MS SQL Server 7 plugin will migrate your MS SQL Server 7 schema, stored programs and data to Oracle. You can freely download the Migration Workbench from the Migration Technology Center on OTN at http://otn.oracle.com/tech/migration/content.html.
    Currently the Migration Workbench does not support migrations to postgres.
    I hope this helps,
    Tom.

  • Migration from Progress to Oracle

    Could you tell me if there is a tool for migrate from Progress to Oracle?
    Thank you for your help.

    try ispirer.com who have a tool which does this.
    Be aware tho that you may need progress's data server product if you do this and it is expensive to license.
    Barry

  • DB Migration from MYSQL to ORACLE Using Offline Capture

    Hi
    Am doing a database migration from MySQL to Oracle using SQL Developer (version 2.1.1.64). So far, I've successfully captured the MySQL database and converted it to the Oracle Model. However, when generating offline scripts to create the converted model schema into Oracle DDL scripts it managed to generate SQL to create: 1) User 2) Sequences 3) Tables 4) Triggers and 5) constraints.
    It has created the SQL to add the primary key constraints and index constraints. Although it did the foreign key constraints in the SQL, the foreign key constraints seems to have missed the cascading options for the foreign key constraint. I.e. theres no reference of whether the foreign key constraint will restrict on delete or cascade etc.
    We have a foreign keys in the MySql database that have different cascading options and these have not being ported over into the migration SQL. Therefore, all the foreign keys generated in the SQL by default are cascade to restrict on delete.
    Does 'Generate Oracle DDL' not take into account a foreign key's on delete cascading option?
    Any help or information would be greatly appreciated.
    Thanks

    Hello,
    that reminded me for the following thread:
    Migration Microsoft SQL Sever 2005 to Oracle 11g cascade on delete problem
    That is a similar issue, isn't it?
    I opened a bug for that, and it will be fixed in SQL Developer 3.1 (not in any 3.0 Early Adopter version). If you hit the same issue, there is no other way then using the workaround as used in the mentioned thread.
    Regards
    Wolfgang

  • Problem while migrating from Sybase to Oracle using Quick Migrate

    Hi,
    For SQL Developer version 2.1, while migrating from sybase to oracle, Using Quick migrate, during data move step, for the rows having ''(Blank) values in TEXT data type in SYBASE, which is convertd to CLOB in Oracle, the migration for that table terminates at that row.
    However, NULL values in Sybase TEXT data type are successfully inserted in Oracle CLOB.
    How can we overcome this?

    reproduced and see exception in console, bug logged.
    Edited by: Jade Zhong on Feb 1, 2010 6:10 PM

  • Migrating from Sybase to Oracle

    Hi!
    Can someone tell me, how to migrate from Sybase to Oracle.
    Thank U.

    Hi,
    You don't say if you have used the SQL*Developer migration workbench for the migration so far.
    This has a feature for transferring data offline which should do what you want.
    Have a look at the documentation linked from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or at -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    SQL Developer User's Guide - section 2.9.1 Transferring the Data Offline
    Regards,
    Mike

  • Migrating from Progress to Oracle

    Hi,
    Wonder if someone's migrated from Progress to Oracle. What tools are available ? what are the constraints/pitfalls/limitations/restrictions ? I need to understand the overall migration process (not having done one yet). What are the tools ? what the procedural steps specifically to go from Progress to Oracle ?
    If someone has done such project, I can use some highlights (if you can share your knowledge/experince).
    Much appreciate any response.
    Rohit.

    Here is a bit of an update gathered from my own research on this issue. Hopefully, it can help someone with the same requirement as mine.
    1. Oracle Migration WorkBench does NOT have support for Progress yet and according to Oracle sales, it may never be made available. Thus MWB is not an option.
    2. Oracle Migration Toolkit is a possibility as it does have support going from Progress 6.x and 7.x to Oracle 7. The limitation here is that you can only go up to Oracle 7 from Progress 6.x or 7.x. In this case, I can migrate to Oracle 7 and then once all is well, upgrade Oracle to 8i or whatever.
    3. The last option is, if migration toolkit does not work out, go the traditional route which is to export/extract Progress out into flat files and then load into Oracle using SQL Loader.
    RMM.

  • Steps for migrating from Oracle10g to Oracle 11g

    Hi,
    Please send me steps to migrate from Oracle10g to Oracle 11g on Redhat Linux x86_64 on RAC with ASM.
    Regards,
    Tushar

    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/toc.htm

  • Issue during migrating from Sybase to Oracle using Oracle SQL Developer

    I am using SQL Developer v 3.2.20.09 to migrate from Sybase to Oracle Pl/SQL 12c
    While migrating the stored procedure the following block did not convert. I got NULL instead of object_id:
    Sybase Block:
    IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
    BEGIN
    DROP PROCEDURE dbo.CheckEst
    IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
    PRINT ‘<<>>’
    ELSE
    PRINT ‘<<>>’
    END
    Oracle Block after conversion:
    BEGIN
    IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
    BEGIN
    DROP PROCEDURE CheckEst;
    IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
    DBMS_OUTPUT.PUT_LINE(‘<<>>’);
    ELSE
    DBMS_OUTPUT.PUT_LINE(‘<<>>’);
    END IF;
    END;
    END IF;
    END;
    Lines 1 & 4 got converted to NULL. I have many places where such code is written.
    Is there any quick way to overcome such an issue? or what needs to be done in such case?

    Hi,
      You are using an older version of SQL*Developer.  Could you download the latest 4.0.2 version available from here -
    Oracle SQL Developer
    and check if you still have the problem ?
    Regards,
    Mike

  • Customer Reference regardinf Migration from COBOL to Oracle Developer

    Hi,
    Can anyone please share customer references regarding migration from COBOL to Oracle Developer.
    Appreciate if someone can help.
    Thanks,

    Can you please share some tools / methodology to perform such migrations particularly from COBOL to Oracle Developer??BIG question. Actually, we did it the hard way -- completely rewrote the entire application. Took 4 years with 8 to 10 developers and analysts.
    The only tools we used were what you get from Oracle: Forms, SQL Plus, Reports. It was a huge project, done partly to overcome the Y2K century problems.
    AS for training, we did not really get any. We just waded in and started writing code ...which definitely improved after about 6 months.
    What sort of system are you looking to convert? How much on-line user interface does it currently have? How many data files?

  • Migration of database from Postgresql to Oracle

    We planning  to migrate a PostgreSQL database to Oracle. Is there any free tools which can be used for the same.?
    Thanks in advance.
    Syam Sankar

    hello,
    check http://otn.oracle.com/tech/migration/content.html
    for further information on migrating different types of data to oracle. the easiest way would be to import your foxpro data into microsoft access and then migrate this access-database using the GUI tool you also find at the location mentioned above.
    regards,
    the oracle reports eam

  • Import data from PostgreSQL to Oracle

    Good Afternoon,
    I am doing a migration of data from a database PostgreSql for Oracle through a database link and using procedures to read the data and populate the Oracle tables. At the moment I found the following difficulty. What to bring data from one table PostgeSql that has a relationship with pg_largeobject. She returns the following error: ORA-22992 can not use lob locators selected from remote tables
    My postgres and structure of the following:
    eventresult (id bigint NOT NULL, version bigint NOT NULL, binary_data oid, value numeric (19,2) NOT NULL, event_id bigint NOT NULL, routine_id bigint NOT NULL)
    pg_largeobject (oid NOT NULL loid, pageno integer NOT NULL, data bytea)
    this relationship in binary_data (eventresult) with loid (pg_largeobject)
    My oracle and the following structure:
    +"EVENTRESULT" ("ID" NUMBER (19), "VERSION" NUMBER (19) NOT NULL, "BINARY_DATA" BLOB, "VALUE" NUMBER (19, 2) NOT NULL, "event_id" NUMBER (19) NOT NULL, "ROUTINE_ID" NUMBER (19) NOT NULL)+
    I created the following procedure to perform the population:
    create or replace
    THE PROCEDURE ADDEVENTRESULT
    count_add INTEGER;
    count_add_aud INTEGER;
    count_origen INTEGER;
    count_origen_aud INTEGER;
    BEGIN
    SELECT count (*) FROM INTO count_origen "eventresult" @ koala;
    SELECT count (*) FROM INTO count_origen_aud "eventresult_aud" @ koala;
    SELECT count (*) FROM INTO count_add eventresult;
    SELECT count (*) FROM INTO count_add_aud eventresult_aud;
    if (count_add <= 0) THEN
    Pgsql_eventresult FOR IN (SELECT * FROM "eventresult" ORDER BY @ koala "binary_data")
    LOOP
    INSERT INTO eventresult (eventresult.id, eventresult.version, eventresult.binary_data, eventresult.event_id, eventresult.routine_id, eventresult.value)
    VALUES (pgsql_eventresult. "id", pgsql_eventresult. "Version", pgsql_eventresult. "Binary_data" pgsql_eventresult. "Event_id" pgsql_eventresult. "Routine_id"
    pgsql_eventresult. "value");
    END LOOP;
    SELECT count (*) FROM INTO count_add eventresult;
    END IF;
    if (count_add_aud <= 0) THEN
    Pgsql_eventresult_aud FOR IN (SELECT * FROM "eventresult_aud" @ koala)
    LOOP
    INSERT INTO eventresult_aud (eventresult_aud.id, eventresult_aud.rev, eventresult_aud.revtype, eventresult_aud.event_id, eventresult_aud.routine_id, eventresult_aud.value)
    VALUES (pgsql_eventresult_aud. "id", pgsql_eventresult_aud. "Rev" pgsql_eventresult_aud. "Revtype" pgsql_eventresult_aud. "Event_id" pgsql_eventresult_aud. "Routine_id"
    pgsql_eventresult_aud. "value");
    END LOOP;
    SELECT count (*) FROM INTO count_add_aud eventresult_aud;
    END IF;
    Dbms_output.put_line ('Record EVENTRESULT were dropped in,' | | count_add | | 'from' | | count_origen);
    Dbms_output.put_line ('Record EVENTRESULT_AUD were dropped in,' | | count_add_aud | | 'from' | | count_origen_aud);
    ADDEVENTRESULT END;
    Using Oracle 11g
    Could anyone help me solve this probema. Thank you very much.

    Hello;
    One option might be :
    PostgreSQL Database Link to Oracle Database
    http://vibhork.blogspot.com/2011/05/postgresql-database-link-to-oracle.html
    Best Regards
    mseberg

Maybe you are looking for

  • 5TH GEN and Vauxhall Insignia

    Hi again , I have just bought a 59 reg Insignia with a usb port for ipod but when I plug my 5th gen ipod it it states that it is not supported yet I can plug my wife's 3rd gen classic in and that works!!! Anyone else had these issues and been able to

  • Issue with Essbase adapter Integration

    Hi Experts, I have installed & configured Essbase adapter ES11X-G4-H in Workbench client. I am able to map the Taget Dimensions in workbench but when I move to FDM webclient >Activities>Map>TargetEBAccount and browse for target values I recieve "Erro

  • Anyone figured out how to run iCal completely invisible?

    Has anyone figured out how to run iCal completely invisible on Snow Leopard -- not just minimized on the dock, but completely hidden.  The goal is to be able to press Comamnd+Tab and NOT see iCal.

  • Excel file will not open on new air book after file transfer

    i transfered through airdrop and email both an excel file which it auto zips and it won't open on my air book in numbers it keeps replicating the zip. Any ideas

  • Lost iLife after migrating to 10.5

    I am new to using a mac and bought myself a new iMac last week. It came with iLife bundled but with 10.4 as os but with possibility for free upgrade to 10.5. When Leopard came in the mail I immediately upgrated but I was treated with blue screens and