ORA-21301: not initialized in object mode [message #94282] |
Wed, 30 June 2004 00:07 |
Sami Zeitoun
Messages: 8 Registered: June 2004
|
Junior Member |
|
|
Hi,
I get the following error "ORA-21301: not initialized in object mode" when I call OCIDateCheck after fetching a column with Date datatype!!
Can anyone tell me what does this mean and why am I getting it??
Thanks,
Sami.
|
|
|
Re: ORA-21301: not initialized in object mode [message #94284 is a reply to message #94282] |
Wed, 30 June 2004 01:18 |
Nicholas Gray
Messages: 13 Registered: November 2000
|
Junior Member |
|
|
OCIDateCheck requires an object of type OCIDate as second parameter.
OCIDate is an object-related datatype.
Thus you probably have to do what the error message tells you to.
Make sure the mode parameter on your OCIEnvCreate, OCIInitialize or OCIEnvNlsCreate includes OCI_OBJECT.
|
|
|
|