Integrating with Oracle PL/SQL

Confluence User - 28 Jun, 2016

Hi -  I'm new to Joget and I was wondering whether there's any ready made tutorial, or example app, for an integration of a workflow with Oracle PL/SQL stored procedures,

Also, I'd like to gather more info about Oracle Database integration in general, like what are the plugins involved, prerequisites, installation and configuration steps, etc.

Thanks a lot in advance!

Fabio - Rome (Italy)

oracle

4


29 Jun, 2016
confluenceUser
confluenceUser

See Call Stored Procedure - MySQL that Walter has just contributed to the community. It should be the same for Oracle too.

30 Jun, 2016
confluenceUser
confluenceUser

Thanks ! That worked, after some refinements:

  • to find out the right JDBC connect string for my DB (a local 11.2 Express Edition):

jdbc:oracle:thin:@localhost:1521/XE

  • to change the procedure call syntax, in the database tool plugin configuration, to:

begin jogetaddrecord('Test 001');end;

I have got a couple more related questions now:

1) how can I refer to a form's field in the stored procedure call. E.g. I want to pass as input parameter the content of a form field, not a constant string.

2) how is the transaction handled in this case? Seems like a commit happened anyway, even though not explicitly issued in my procedure.

30 Jun, 2016
confluenceUser
confluenceUser

wrt to question 1 - I found how to, by using a hash variable. e.g. 

begin jogetaddrecord('#form.test.comment#');end;

30 Jun, 2016
confluenceUser
confluenceUser

question # 3

how are return values from select queries, or pl/sql functions, typically handled?

thanks

Fabio

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print