Top Banner
FILE TO DB POOLING First we have to create one table with fields in DataBase as shown below. After creating the table, create one file with records as shown below.
26
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: File2db

FILE TO DB POOLING

First we have to create one table with fields in DataBase as shown below.

After creating the table, create one file with records as shown below.

Page 2: File2db

Go to Jdeveloper,create one project. In that project take one File Adapter and go through the steps with

screen shots as shown below. In the file adapter click on next

Page 3: File2db

Type service name and click on next button two times

Here select operation type as Read File

Page 4: File2db

Here uncheck Process file recursively option and browse for file path and click on next

Here type Include Files with Name Patterns:*.* It will receives all type of files.

Page 5: File2db

After that click on next

Here click on Native Format Builder and click on next

Page 6: File2db

Here select create file and click on next

Here browse for file name and click on next

Page 7: File2db

Click on next

Here enter names for root element and child element .then it will create XSD with these names.

Page 8: File2db

Here select delimited by as comma(,) and click on next

Here enter field names and click on next

Page 9: File2db

Here click on test and click on play button then it will shows the XSD

Page 10: File2db

Then click on OK and click on next and finish

Here now you can see XSD here with root element and click on next and finish.

Page 11: File2db

Then take BPEL with define service later.

Then take one DB Adapter and go through the below steps with screen shots

Page 12: File2db

Here create connection and enter JNDI Name

Page 13: File2db
Page 14: File2db
Page 15: File2db

Here click on Auto Query and select table and add the table and click on OK

Page 16: File2db
Page 17: File2db
Page 18: File2db
Page 19: File2db
Page 20: File2db
Page 21: File2db
Page 22: File2db
Page 23: File2db
Page 24: File2db
Page 25: File2db

After mapping the fields, save all and deploy the project. Now you can see in the Database whether

records are coming are not

Page 26: File2db