Oracle Error OCI-31162: element or attribute “string” has no SQLType specified

Oracle Error Message

OCI-31162: element or attribute “string” has no SQLType specified

Reason for the Error

Schema registration was invoked with GENTYPES=false without specifying a SQLType for some element or attribute

Solution

Specify a SQLType for the offending element or attribute and register the schema again