Friday, September 18, 2020

Migrating Data from XML file to RDBMS(Oracle)

 >> Set up Topology

Create Data server , in the Definition give the name for data server..

JDBC connection : click on search button and give ok..

From Filename replace with your file path  and Incase if your XML file is following dtd path then you have to mention dtd path also..

Copy the Path of the file as below..

Right click on the File >> Properties >> Copy the link

jdbc:snps:xml?f=D:\ODI\Sample-employee-XML-file.xml&d=D:\ODI\Sample-employee-XML-file.dtd

Yellow: Xml file path

Green : Dtd file path

Test Connection

 

>> Create Physical Schema : drop down schema and work schema select your file schema.

Go to Context : Assign context and provide name for logical schema

Save it

Noe: Recheck in logical architecture the Logical schema will be created automatically.

 

  *******************The topology set up has been complete****************************

>> Create a New model for XML and import files by reverse engineering..

File has been imported

view the data

Note: The advantage is XML is automatically add a PK and FK

Employees file contains EMPLOYEES PK

Here Details file contains EMPLOYEES FK

The above two files are co related  each other ..

>> Create Interface With XML source and target

>> There is no specific KM’s for XML hence we need to use

LKM sql to oracle only

 

IKM

Save and Execute the interface..

 

Check the data in DB.

************** Completes Migration of data from XML to RDBMS**************************

 

 

 

 

 

 

 

 

 

 

4 comments:


  1. Thanks for sharing this blog this content is very significant for me I really appreciate you.

    click here now


    ReplyDelete
  2. Very good information given on his new blogs and famous and trendy blogs with different categories.
    Read the article

    ReplyDelete
  3. Thanks for sharing this blog this content is very significant for me I really appreciate you.
    The blogs you have posted have taught you a lot of good things Thanks for pasting.
    click here now


    ReplyDelete