Skip to content

Commit 780669a

Browse files
authored
Add files via upload
1 parent fb10b4b commit 780669a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

java/ojvm/SODA.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,32 @@ The goal of this write up is to furnish the steps for running testSODA.java in O
99
(i) Download the [latest orajsoda.jar](https://github.com/oracle/soda-for-java/releases) currently orajsoda-1.0.4.jar
1010

1111
(ii) Upload orasoda.jar in your database schema
12-
loadjava -r -v -u hr/hr orajsoda-1.0.4.jar
12+
loadjava -r -v -u hr/hr orajsoda-1.0.4.jar
1313

1414
(iii) Load the [latest javax.json-1.0.4.jar](https://mvnrepository.com/artifact/org.glassfish/javax.json/1.0.4)
15-
loadjava -r -v -u hr/hr javax.json-1.0.4.jar
15+
loadjava -r -v -u hr/hr javax.json-1.0.4.jar
1616

1717
* ** Prep testSODA.java for OJVM
1818

1919
(i) Get (copy/paste) testSODA.java from [Getting started with SODA for Java](https://github.com/oracle/soda-for-java/blob/master/doc/Getting-started-example.md)
2020

21-
(ii) Replace the URL in the connect string with the OJVM server-side connect URL
22-
Replace "jdbc:oracle:thin:@//hostName:port/serviceName";
23-
With "jdbc:default:connection"
21+
(ii) Replace the URL in the connect string with the OJVM server-side connect URL
22+
Replace "jdbc:oracle:thin:@//hostName:port/serviceName";
23+
With "jdbc:default:connection"
2424
The furnished testSODA.java on this page already has the change
2525

2626
(iii) load the updated testSODA.java in your schema
27-
loadjava -r -v -user hr/hr testSODA.java
27+
loadjava -r -v -user hr/hr testSODA.java
2828

2929
(iv) Create the table for persisting the JSON collection and documents using the furnished JSON-tables.sql
3030

31-
(v) Create a SQL wrapper for invoking the main method
32-
create or replace procedure testSODA as
33-
language java name 'testSODA.main(java.lang.String[])';
31+
(v) Create a SQL wrapper for invoking the main method
32+
create or replace procedure testSODA as
33+
language java name 'testSODA.main(java.lang.String[])';
3434

3535
(vi) Invoke the wrapper of the main method and display the output
36-
set serveroutput on
37-
call dbms_java.set_output(2000);
38-
call testSODA();
36+
set serveroutput on
37+
call dbms_java.set_output(2000);
38+
call testSODA();
3939

4040
The furnished testSODA.sql performs the steps (v) and (vi).

0 commit comments

Comments
 (0)