26
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.

File2db

Embed Size (px)

Citation preview

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.

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

Type service name and click on next button two times

Here select operation type as Read File

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.

After that click on next

Here click on Native Format Builder and click on next

Here select create file and click on next

Here browse for file name and click on next

Click on next

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

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

Here enter field names and click on next

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

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.

Then take BPEL with define service later.

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

Here create connection and enter JNDI Name

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

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

records are coming are not