Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle Packages and Shared/Pooled connections [newbie question]

Re: Oracle Packages and Shared/Pooled connections [newbie question]

From: DA Morgan <damorgan_at_exesolutions.com>
Date: Fri, 24 Jan 2003 12:25:10 -0800
Message-ID: <3E31A126.96C382BB@exesolutions.com>


Paul Boothroyd wrote:

> Could somebody please confirm my understanding of "declared" variables
> within a package, i.e. a package "instance" is stateful (retains
> values), until it is dropped from the Oracle PL/SQL execution block.
>
> (I am a little unsure whether, on PL/SQL integrated with the Database
> Server is part of the System Global Area of memory, or is distinct.)
>
> Cheers, Paul
>
> Paul Boothroyd wrote:
> > (Sorry I have not had time to check this out myself yet.)
> >
> > From the notes I have regarding PL/SQL packages, they state that
> > variables and constants declared in both the Specification (Interface)
> > and Body (Implementation) are defined for the lifetime of a user session.
> >
> > I believe this has some serious implications regarding the usage of
> > connection pools from many types of client, PHP; Java; etc.
> >
> > Could somebody please forward me URL's or an outline of the problems
> > encountered ?
> >
> > Cheers (TIA), Paul
> >

Part of the SGA.

Daniel Morgan Received on Fri Jan 24 2003 - 14:25:10 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US