Вы находитесь на странице: 1из 8

Contents

Oracle XE Not Connecting to SQL Developer:...................................................................................................................1


Oracle XE Configuration Setup:........................................................................................................................................1
Oracle XE Connection with Mulesoft Anypoint Studio configuration Details...................................................................2
HelloWorld....................................................................................................................................................................... 2
File Processing:.................................................................................................................................................................3
Mule4 Connection with Oracle XE and DB to JSON Conversion.......................................................................................4
Convert Oracle Data into CSV using Transformation Method..........................................................................................4
Convert DB Data into CSV using parameterized query.....................................................................................................6

Oracle XE Not Connecting to SQL Developer:


Ensure below Services are up and running if Oracle XE Is not connecting to Sql developer or Toad.

services.msc

Oracle XE Configuration Setup:


Oracle XE Connection with Mulesoft Anypoint Studio configuration Details.

ojdbc8.jar

HelloWorld
http Listener : Accepting Input parameter and display the same in console.
Query Param :
Set Payload : message.attributes.queryParams.param1
http://localhost:9000?param1=nagella
File Processing:

 Read method is used to read the file and write method is used to write the file into any other directory.
 On New or Update File Method is used when we wants to Pooling happen on directory.
 write method : message.attributes.fileName used to write filename into the outputdir.

Polling on File Processing and change Requests:

Polling is nothing but continues checking on directory or file is updated or newly created to pull and
transmitted. We can use method On New or Update File to check continuously is there any update or new file
is created.

Below Setup done for polling on the file and directory for every milliseconds.
Mule4 Connection with Oracle XE and DB to JSON Conversion
Converting Oracle data into JSON Data format as destination System Understand only JSON, due to the same
reason we are converting into JSON.

Mule4 is having Database separate methods for each and every operation on DB level (Insert, update,
delete ,bulk delete, bulk insert, bulk update, execute DDL, Execute Script, on table Row, Stored procedure).
But where as in Mule3 all listed methods is bundled in single method
http://localhost:1111/SalesOrderProcessing

Convert Oracle Data into CSV using Transformation Method.

http://localhost:8888/DBtoCSV_Transformation
Another Example
Convert DB Data into CSV using parameterized query.

DB  Text/CSV,JSON Conversion
DB to JSON(Array) / DB to Text(File)

FileContains Input Parameter and passed to Select Input parameter.


Inserting Data into Oracle DB from CSV
Bulk Insert requires Array of Objects to insert data into the tables, on new or update  TransformBulk insert

XML Processing integration (CSV,XML,Json, TextFile)


Convert sample XML TO JSD schema using jsonschema.net

Json  XML, XMLJSON, CSVJSON,JSONCSV and etc….. Can be done using the Transform Message.

To transform a message we need a sample Schema File or Example Payload.

Вам также может понравиться