Package Instantiation and Initialization

When a session references a package item, Oracle Database instantiates the package for that session. Every session that references a package has its own instantiation of that package.

When Oracle Database instantiates a package, it initializes it. Initialization includes whichever of the following are applicable:

  • Assigning initial values to public constants

  • Assigning initial values to public variables whose declarations specify them

  • Executing the initialization part of the package body