-
Notifications
You must be signed in to change notification settings - Fork 46
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
How to use oracle transaction with node.js #99
Comments
You mention that it may no be working for you but you didn't provide a code sample? The documentation currently doesn't have an oracle example but I can assure you it works just fine with oracle as I have been using it with oracle for a couple weeks now in production. I have forked this repo and working on a few changes that I hope will be accepted into master once I finish them. In the meantime at my forked page you can view an expanded database.json file that shows how to declare oracle with and without using TNS names.(my fork: http://github.com/ioneyed/node-persist ) If that doesnt solve your problem then please provide a gist/sample of your implementation so we can resolve your issue. Stating its just not working isn't a good way to get a resolution. |
Thanks for your response. I have added my simple code below for your perusal. Program is not executing the loop tx.rollback or tx.commit. Kind help if there is asynchronous flow or syntax issues. var persist = require('persist'); var connectData = { persist.connect(connectData, function(err, connection){
}); |
I trying to use either 'persist' or 'oracle' to perform transactions in the oracle database through node.js program, i am not sure if there is a feasibility to do that required process or its not working for me. Kindly help!
The text was updated successfully, but these errors were encountered: