Oracle database version used: Oracle-xe-11g (Follow these instructions explained here to install Oracle-xe-11g with Docker).
This Sample is written using ballerinax/jdbc module. Before running this sample you need to copy the Oracle JDBC driver jar into $BALLERINA_HOME/bre/lib.
First, create the table using the following command:
This is a sample to insert byte array into oracle database:
Running the sample:
ballerina run insertByteArray.bal
Output:
Update oracledb table status: 1
No comments:
Post a Comment