PLS-00586 a static method cannot declare a parameter named SELF
This is a PL/SQL and FIPS Message generated by PL/SQL. For more information about PL/SQL, refer to the PL/SQL User's Guide and Reference.
What is the cause of PLS-00586 from Oracle 11g ?
An attempt was made to name a parameter SELF when declaring a static method. SELF is reserved as a parameter name in methods, to hold the object instance on which the method is applied. A parameter named SELF is not allowed in static methods because static methods do not apply to a particular object instance.
How to deal with PLS-00586 from Oracle 11g ?
Change the name of the parameter in the declaration.
Contacting Oracle support services ?
Some messages recommend contacting Oracle Support Services to report a problem. Please go here for more information : Oracle Support.
Linked Error Messages
- PLS-00580 supertype must be an object type
- PLS-00581 inheritance is not supported for opaque types
- PLS-00582 attribute declarations are not allowed in opaque types
- PLS-00583 size must be specified if opaque type is fixed-length
- PLS-00584 size of an opaque type must be between 1 and 4000 bytes
- PLS-00585 declared support library for opaque type is not a library
- PLS-00587 a static method cannot be invoked on an instance value
- PLS-00588 unqualified instance attribute references allowed only in member methods
- PLS-00589 no attributes found in object type " string "
- PLS-00590 attempting to create a subtype UNDER a FINAL type
- PLS-00591 this feature is not supported in client-side programs
- PLS-00592 the type of a object table must be an object type
- PLS-00593 default value of parameter " string " in body must match that of spec
- PLS-00594 the SELF parameter can be declared only as IN or as IN OUT