Thanks Marcos and Florin for your valuable inputs. I will try the
methods you have suggested.
In my project currently Database context issue is not as big as
Global Temporary table issue. Marcos you are right that this design
came from our big legacy Client-Server system where one of our main
Business Event module is highly relying on Global temporary table
where this table is getting populated from 1000s of different PL/SQL
APIs and getting flush on user define save() method, which is wrapper
of Database commit method. This temporary table is getting called from
so many places that converting it to regular table may cause too many
redo log entries and Database troubles. Our Forms application will be
still around for few years and changing Database design is bigger step
to take, though we are already considering it.
Before doing too much investment and taking major steps, I would like
to know from experts that Database Global Temporary tables and Global
contexts can't be handled well by connection pooling and web
technologies and its better not to carry it for longer....
On Oct 13, 4:13 pm, Marcos Ortega <
mar...@santoandrea.com.br> wrote:
> Hi, Chetan;
> About Context variables, inside oracle session, you can specialise
> passivate / activate methods from application module; there you can resset
> the oracle's context variables restoring then from a previous xml node saved
> on AM's passivate method;
>
> Now about global temporary tables, humm, that's reminds me Client /
> Server architeture;
>
> I consider transforming then in normal tables , and create more two
> Pl/Sql calls .
>
> BeginMyLargeBusiness();
> Clear the tables from an possible last unterminated
> process;
>
> EndMyLargeBusiness();
> Clear the tables for a normal process finalize;
>
> And make strategic pontual calls on those procedures;
>
> Maybe to simple answer;
>
> Marcos Ortega
> Analista de Sistemas
> Campo Grande - MShttp://
www.santoandrea.com.br
>
> 2009/10/12 Chetan Dihenia <
cdihe...@gmail.com>
>
>
>
>
>
> > Hi All,
> > I have read many different topics around lots of PL/SQL and ADF. I
> > still want to start this new thread to address one of our biggest road
> > block of ADF project. Our current project has so many PL/SQL code and
> > many API calls involve PL/SQL global context setting where other PL/
> > SQL APIs depend on last calls. Also there are some Global Temporary
> > tables involve where one API populates this table and other APIs
> > relying on these rows. Now with connection pooling in place every PL/
> > SQL call can be in different Database session.
> > There are some options on table such as -
> > (1) Writing wrapper in PL/SQL to do all calls in one API
> > (2) Moving PL/SQL code in Java (Around 75 man-years)
> > (3) Setting Release Level to Reserved (backward compatible) at
> > run-time before doing such transaction etc...
> > (4) Overriding connection pooling (We use web-logic connection
> > pooling) so that context can be maintained across different Database
> > sessions
>
> > Can anyone shade light on this topic to handle this situation best
> > way with some pros/coms will be appreciable.
>
> > Chetan.- Hide quoted text -
>
> - Show quoted text -