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 11814
"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: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |