Skip to Main Content

APEX

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!

Funny behavior related to executing dynamic SQL over database links

Luis CabralJun 2 2008 — edited Mar 11 2009
Hi

I have an application here developed using Apex 3.1 in Oracle XE. This application has a page that dynamically executes SQL statements against the local database or a remote databases (via dblinks). The user selects a dblink (or leaves it empty for the local database) and clicks a button that runs a process that calls a procedure in the database. This procedure executes the mentioned dynamic SQL.

If I run my app against my local database, all works fine.

If I run it against a remote database (EE 10g), strange things start to happen when I click the button. Sometimes, after clicking it, an empty page is displayed (without any error message). If I click back in the browser and try again, it works fine.

Sometimes instead of a page being displayed, I am asked what I want to do with a file called "wwv_flow.accept". If I save it, it contains:

IBMPC/WIN_NT-8.1.0

If I click the button again, it works fine. It looks like something gets messed up right after executing a dynamic SQL over a dblink.

I didn't do much investigation yet, and I would like to know if anyone have seen this before...

Thanks,
Luis
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2009
Added on Jun 2 2008
3 comments
503 views