How to fix the Oracle error LSX-00158: base type of “~S” must be simple type or primitive datatype?

In this post, you’ll learn more about the Oracle ErrorLSX-00158: base type of “~S” must be simple type or primitive datatype with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

LSX-00158: base type of “~S” must be simple type or primitive datatype

Reason for the Error LSX-00158: base type of “~S” must be simple type or primitive datatype

Cause: The derivation constraint was violated.

How to fix the Error LSX-00158: base type of “~S” must be simple type or primitive datatype ?

You can fix this error in Oracle by following the below steps

Action: Use complexType instead of simpleType.

Tags :

Leave Your Comment