Sometimes i'll get unrecognized chars in clob... (output param type).
any idea ?
NLS_LANG is utf8, i have no problem with enconding. Clob is usually good, but sometimes i'll get random chars.. Problem is with large data...
Encountered the same problem when working with large data sets stored in CLOB. It also happens randomly.
Waiting to switch over to the vendor driver when CLOB is supported.
We've been having the same issue with characters appearing at random and are also waiting for the official driver to have CLOB support. In the meantime the following build instructions seem to have solved the issue for us at least. I say "seem" because the issue is really sporadic for us.
#1 Download instantclient and instantclient SDK 188.8.131.52.0 (tested with x86 Linux)
#2 Create symbolic links
ln -s libocci.so.11.1 libocci.so
ln -s libclntsh.so.11.1 libclntsh.so
#3 Setup ENV
#4 Pull latest code
git clone https://github.com/joeferner/node-oracle.git
mv node-oracle oracle
Make sure that when you run your Node application it sees the same Oracle Libraries you linked against above. For example we had an old set of 11.1 and 12 libraries on our LD_LIBRARY_PATH. When these were present before the 11.2 we would see the random characters appear again.