in Oracle, resolution of types declared in package

Hello,
in Oracle, when I declare a type in a package and then try to use it in the body of the same package, the type is highlighted with 'unable to resolve object type'

4 comments
Comment actions Permalink

Hello Georgios,

Does it happen for compiled or/and not yet compiled package? Could you please provide sample code and the screenshot with the warning? Thank you in advance!

0
Comment actions Permalink

Hello,
it is a compiled package which I opened in the editor,
I am attaching you the screenshot

Thanks
DataGrip_SCR.png

0
Comment actions Permalink

Hi Team,

 

And what about constants from other packages within the same schema? Will DataGrip find them someday?

Below is a simple line from a package body that references two constants from another package and it receives 2 (two) warnings from IDE

l_online_guid   cmn.t_online_guid := cmn.c_online_guid_null;
  1. Unable to resolve object type 't_online_guid'
  2. Unable to resolve symbol 'cmn'

But these two constants are simple constants from CMN package specification only.

 

0

Please sign in to leave a comment.