-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPI-1014: conversion between Oracle type 2005 and native type 3004 is not implemented #187
Comments
Can you share the type and how it was created? Is this a PL/SQL type? I tried with a named type and it wouldn't allow me to create a type containing a ROWID attribute. |
Yes, it is a PL/SQL record type, with one attribute defined as ROWID:
My gut feeling is that the intention was to disallow generating/injecting invalid/fake/bogus rowids into the system, |
I've tried the same trick as in #186:
with obj, "-16", &obj
instantly. In PL/SQL, I can set that |
with "AAAkvKAAeAACtIDAA" string as :2: I have no more ideas. (I can live with it, it seems implausible to have to transfer a rowid from a database and use it in another one). |
What version of ODPI-C are you using (see dpi.h)?
5.4.0
What OS (and version) is your application on?
Debian sid
What compiler (and version) did you use?
gcc 14.2.0
What is your version of the Oracle Client (e.g. Instant Client)? How was it installed? Where it is installed?
oracle-instantclient-basic_23.6.0.24.1
What is your Oracle Database version?
19.23
What problem or error(s) you are seeing?
DPI-1014: conversion between Oracle type 2005 and native type 3004 is not implemented
This is correct - I want to dpiObject_setAttribute an attribute that has ROWID type.
Oracle does not provide an "OCICharToRowid" function (a'la OCIRowidToChar) - but how could I set such an attribute?
The text was updated successfully, but these errors were encountered: