Skip to content

Lightweight based Java server to run Oracle OWA (Oracle Web Agent)

License

Notifications You must be signed in to change notification settings

clagomess/modplsql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mod-plsql

Lightweight based Java server to run Oracle OWA (Oracle Web Agent)

Download

Example

OWA Oracle procedure:

CREATE OR REPLACE PROCEDURE HELLO_WORLD (
    NUM_ENTRIES NUMBER,
    NAME_ARRAY OWA.VC_ARR,
    VALUE_ARRAY OWA.VC_ARR,
    RESERVED OWA.VC_ARR
) IS
BEGIN
    HTP.PRINT('Hello World');
    DBMS_OUTPUT.PUT_LINE('Test DBMS_OUTPUT');
END;

config.json:

{
  "dbUrl": "jdbc:oracle:thin:@localhost:1521:ORCLCDB",
  "dbUser": "DBBACKUP",
  "dbPass": "010203",
  "indexPage": "DBBACKUP.HELLO_WORLD",
  "params": [
    {"key": "foo", "value": "bar"}
  ]
}
  • Run: java -jar mod-plsql.jar
  • See: http://localhost:8000