Closed ckasthuriarachchi closed 2 years ago
See the comments on https://stackoverflow.com/questions/72480957/nodejs-oracledb-different-result-with-query-executer-and-direct-query-from-dbms where this was also posted. We can follow up there.
[Also, use triple-back ticks when posting code - see here. I've edited your question to do this.]
See the comments on https://stackoverflow.com/questions/72480957/nodejs-oracledb-different-result-with-query-executer-and-direct-query-from-dbms where this was also posted. We can follow up there.
[Also, use triple-back ticks when posting code - see here. I've edited your question to do this.]
Thats my question. No useful comments there. Thats why i created a issue here. This is a issue from oracledb package
I cannot found any solution for this. So I had to make a separate java spring boot project to run this query. that resulted perfectly as same as the DBMS direct query.
So A lot of tests proved me that there is a bug in the node oracledb. But i cannot say whats that exactly. I think there is a query interpretation problem. So the conclusion is i cannot recommend nodejs oracledb to run complex queries since the results are unexpected until they fix it. It's better if the contributors have a look on this matter.
We take data seriously and would investigate any issue if we are given clear information. A very complex SQL statement, and a few screenshots (in the stack overflow post) aren't enough for anyone to make any conclusive statement about what is going on. Sorry.
Node.js is not Java and is tricky to get right, but a lot of people are using node-oracledb without a problem.
When I execute my oracle query from the DBMS it returns correct data. But when i run the same query from from the nodejs oracledb code, results are wrong. I've searched this everywhere. but didn't get any solution. please help me. oracledb version is 5.3.0. I've also mentioned my query below.