All Oracle Error CodesOracle DBA Forum

OCI-21301:

not initialized in object mode
Cause: This function requires the oci process to be initialized in object mode.
Action: Specify OCI_OBJECT mode when calling OCIInitialize().