How to fix the Oracle error LSX-00161: disallowed type substitution between “~S” and “~S”?
In this post, you’ll learn more about the Oracle ErrorLSX-00161: disallowed type substitution between “~S” and “~S” with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
LSX-00161: disallowed type substitution between “~S” and “~S”
Reason for the Error LSX-00161: disallowed type substitution between “~S” and “~S”
Cause: There was a substituted type whose deriving method falls in the union of the {disallowed substitutions} and the {type definition}’s {prohibited substitutions}.
How to fix the Error LSX-00161: disallowed type substitution between “~S” and “~S” ?
You can fix this error in Oracle by following the below steps
Action: Remove the offending deriving method from the element’s {disallowed substitutions} list or the {type definition}’s {prohibited substitutions} list.
Leave Your Comment