We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dpiObjectAttr_getInfo() returns incorrect dpiOracleTypeNum about NVARCHAR2 attributes.
I made a test program which gets attribute information about udt_ObjectDataTypes. https://gist.github.com/kubo/17189baff057bb8fdd5797ae80750518 It printed:
STRINGCOL - 2001 UNICODECOL - 2001 FIXEDCHARCOL - 2003 FIXEDUNICODECOL - 2004 INTCOL - 2010 NUMBERCOL - 2010 DATECOL - 2011 TIMESTAMPCOL - 2012 TIMESTAMPTZCOL - 2013 TIMESTAMPLTZCOL - 2014 BINARYFLTCOL - 2007 BINARYDOUBLECOL - 2008
The datatype of UnicodeCol is nvarchar2(60). Its oracleTypeNum should be 2002(DPI_ORACLE_TYPE_NVARCHAR). However it is 2001(DPI_ORACLE_TYPE_VARCHAR).
The text was updated successfully, but these errors were encountered:
This was also discovered internally and a commit to correct this will be available shortly. :-)
Sorry, something went wrong.
Object attributes use type DPI_SQLT_VCS instead of DPI_SQLT_CHR, so e…
7c91dba
…nsure that type is also examined for the charset form (aka NVARCHAR2) (#45).
Confirmed. Thanks!
6ce0e96
No branches or pull requests
dpiObjectAttr_getInfo() returns incorrect dpiOracleTypeNum about NVARCHAR2 attributes.
I made a test program which gets attribute information about udt_ObjectDataTypes.
https://gist.github.com/kubo/17189baff057bb8fdd5797ae80750518
It printed:
The datatype of UnicodeCol is nvarchar2(60). Its oracleTypeNum should be 2002(DPI_ORACLE_TYPE_NVARCHAR). However it is 2001(DPI_ORACLE_TYPE_VARCHAR).
The text was updated successfully, but these errors were encountered: