Hi all,
I am experiencing a problem whereby a PL/SQL package is valid for
some time (and runs succesfully a few times) and then suddenly becomes
invalid in DB. If I recompile this package it works again for some
time and then again gets invalidated. Does anyone have a suggestion or
idea of what might cause such strange behavior?
Also, does anyone know a way of obtaining error information from DB
that reports why a package was flagged as invalid?
Finally, I would appreciate help on how to obtain dependencies (both
direct and indirect) for a package? (I read in the documentation that
a change in a dependency can cause a package to be invalid)
Thanks for your help, regards,
-Javier 3 11823
"Javier Sanchez" <ja********************@hotmail.com> wrote in message
news:97**************************@posting.google.c om...
| Hi all,
| I am experiencing a problem whereby a PL/SQL package is valid for
| some time (and runs succesfully a few times) and then suddenly becomes
| invalid in DB. If I recompile this package it works again for some
| time and then again gets invalidated. Does anyone have a suggestion or
| idea of what might cause such strange behavior?
|
| Also, does anyone know a way of obtaining error information from DB
| that reports why a package was flagged as invalid?
| Finally, I would appreciate help on how to obtain dependencies (both
| direct and indirect) for a package? (I read in the documentation that
| a change in a dependency can cause a package to be invalid)
|
| Thanks for your help, regards,
|
| -Javier
a change in dependencies is the typical reason
use the data dictionary view USER_DEPENDENCIES or DBA_DEPENDENCIES to
(recursively) examine objects that a package depends on
whenever possible, avoid making changes to the package specification -- only
work with the package body, this reduces invalidation of dependent packages
and procedures
-- mcs
You can try setting the dependencies_mode from time_stamp to signature.
Babu
"Mark C. Stock" <mcstockX@Xenquery .com> wrote in message
news:8u********************@comcast.com... "Javier Sanchez" <ja********************@hotmail.com> wrote in message news:97**************************@posting.google.c om... | Hi all, | I am experiencing a problem whereby a PL/SQL package is valid for | some time (and runs succesfully a few times) and then suddenly becomes | invalid in DB. If I recompile this package it works again for some | time and then again gets invalidated. Does anyone have a suggestion or | idea of what might cause such strange behavior? | | Also, does anyone know a way of obtaining error information from DB | that reports why a package was flagged as invalid? | Finally, I would appreciate help on how to obtain dependencies (both | direct and indirect) for a package? (I read in the documentation that | a change in a dependency can cause a package to be invalid) | | Thanks for your help, regards, | | -Javier
a change in dependencies is the typical reason
use the data dictionary view USER_DEPENDENCIES or DBA_DEPENDENCIES to (recursively) examine objects that a package depends on
whenever possible, avoid making changes to the package specification --
only work with the package body, this reduces invalidation of dependent
packages and procedures
-- mcs
The reason for the package becoming invaild should be logged into the
v$errors table as well.
"babu" <ba**@insightbb.com> wrote in message
news:B8gMb.25838$nt4.49443@attbi_s51... You can try setting the dependencies_mode from time_stamp to signature.
Babu "Mark C. Stock" <mcstockX@Xenquery .com> wrote in message news:8u********************@comcast.com... "Javier Sanchez" <ja********************@hotmail.com> wrote in message news:97**************************@posting.google.c om... | Hi all, | I am experiencing a problem whereby a PL/SQL package is valid for | some time (and runs succesfully a few times) and then suddenly becomes | invalid in DB. If I recompile this package it works again for some | time and then again gets invalidated. Does anyone have a suggestion or | idea of what might cause such strange behavior? | | Also, does anyone know a way of obtaining error information from DB | that reports why a package was flagged as invalid? | Finally, I would appreciate help on how to obtain dependencies (both | direct and indirect) for a package? (I read in the documentation that | a change in a dependency can cause a package to be invalid) | | Thanks for your help, regards, | | -Javier
a change in dependencies is the typical reason
use the data dictionary view USER_DEPENDENCIES or DBA_DEPENDENCIES to (recursively) examine objects that a package depends on
whenever possible, avoid making changes to the package specification --
only work with the package body, this reduces invalidation of dependent packages and procedures
-- mcs
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Roman Suzi |
last post by:
(this is a repost with an addition - probably noone noticed my message first
time)
Hi!
Just to be sure, is email package of Python 2.3 thread-safe or not
(to use, for example, in...
|
by: mfreeman |
last post by:
The minimal code (VB.NET 2003) needed to show this problem is shown
below. All I do is loop through the records in the table and update
them without making any changes. Out of 600 records, about...
|
by: PaulR |
last post by:
Hi,
I am trying to understand what invalidates Dynamic Packages in the
Package Cache.
By monitoring the Size of the Package Cache, it appears the following
does
1. Performing a Runstats on...
|
by: Joe |
last post by:
Is any one charting packing considered to be the "best"? We've used ChartFX
but wasn't too happy about the way data had to be populated along with some
other issues which slip my mind right now and...
|
by: jayapal |
last post by:
Hi all,
Whenever I use the gets() function, the gnu c compiler gives a
warning that it is dangerous to use gets(). why...?
regards,
jayapal.
| |
by: blazedaces |
last post by:
Hello, it's been a while since I posted on these forums. My issue I think isn't as much in my code as it's in the syntax and structure in references other packages. I'll get straight to it then:
...
|
by: mike3 |
last post by:
Hi.
(Xposted to both comp.lang.c++ and comp.programming since I've got
questions related to both C++ language and general programming)
I've got the following C++ code. The first routine runs in...
|
by: Javier Sanchez |
last post by:
Hi all,
I am experiencing a problem whereby a PL/SQL package is valid for
some time (and runs succesfully a few times) and then suddenly becomes
invalid in DB. If I recompile this package it works...
|
by: Fett |
last post by:
I need a crypto package that works on windows with python 2.5. Can
anyone suggest one for me?
I have been searching for a couple days for a good cryptography
package to use for public/private...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |