ORA-22317: typecode number is not legal as a number type
Cause: The user is trying to use a number typecode that is not valid
Action: Use only OCI_TYPECODE_SMALLINT, OCI_TYPECODE_INTEGER, OCI_TYPECODE_REAL, OCI_TYPECODE_DOUBLE, OCI_TYPECODE_FLOAT, OCI_TYPECODE_NUMBER, or OCI_TYPECODE_DECIMAL
https://support.oracle.com/
http://www.oracle.com/