Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Fileupload with with ApexListener

pollaristeveMay 29 2013 — edited Jul 27 2013
We want to migrate from OHS to Apex_Listener.
As far we got the HTP content in the PLSQL Procedures which is stored in the datebase will be executed and as HTML/JavaScript deliverd.
We don’t want to use APEX, only the Apex Listener. We are deploying ApexListener 2.0.1.

Our Solution with OHS looks like the examples in the Documentation:
http://docs.oracle.com/cd/B14099_19/web.1012/b14010/concept.htm#i1005866


The Problem is, when we want to upload a file in the database. The error

java.sql.SQLException: ORA-06550: line 2, column 2:
PLS-00306: wrong number or types of arguments in call to 'WRITEINFO'
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored

This can we solve with a workaround and set some default parameters/arguments but then we got:

May 29, 2013 11:49:32 AM oracle.dbtools.apex.hooks.fileUpload.ApexFileLoader checkDocMethod
SEVERE: ORA-00942: table or view does not exist

java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist


For our Problem we can’t find any Solution in the ApexListener Documentation.
We know with OHS this works because of the DAD with the parameter : PlsqlDocumentProcedure and PlsqlDocumentTablename .
How can we implement this function in APEX_LISTENER? How is it possible to HTTP POST a Document to a procedure?

Comments

Jerry S.

Update: Just in case anyone has this question in the future.

I did some experimentation and the CEO record needs to have a null value in its parent key field in the

original data table before the scripts are run to build and populate the parent-child relationship table.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 24 2013
Added on May 29 2013
2 comments
934 views