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

author
Claudio Gomes da Silva
Mar 13, 2020
e9ce391 · Mar 13, 2020

History

29 Commits
Mar 13, 2020
Mar 13, 2020
Mar 13, 2020
Mar 13, 2020
Jul 24, 2019
Jul 24, 2019
Mar 13, 2020
Mar 13, 2020

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