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!

apex and temporary tables - (im)possible?

ma445893rdAug 29 2006 — edited Aug 31 2006
Hi!

I am writing an applikation which requires the user to log on. Dependig on his name he should be able to see different data querying the same database object.
I solved this by creating a temporary table which stores the username along with other information. A view is joining the datatable with this temporary table and thus produces different sets of data depending on the different users.
This temporary table always contains exactly 1 row for each oracle session.

While adding a new user interface build in apex, I encountered the problem, that our apache server is using the same oracle session more than once - i.e. if 2 users log on, there are 2 entries in the temporary table, visible for both of them. This confuses the view, producing mixed-up results.

Is there a way to configure the apache server to ensure that for every user a seperated sql-session is used (and thus ensuring a seperated view on the temporary table?)

In some older posts I found the information that temporary tables cannot be used since apex ist stateless.
But in some later posts, I found that temporary tables are both usable and used in apex.

How should/must I configure my apache/apex application to use temporary tables ?

Thanks, Michaael
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2006
Added on Aug 29 2006
3 comments
1,716 views