Node.js + Oracle 9i Database
Asked Answered
M

2

5

I am new to node.js and I already did my research with no success, so that is my question:

It is possible to use Node.js with an Oracle 9i Database? If so, where do I find some stuff about it?

Thanks in advance!

Monadism answered 15/3, 2011 at 20:22 Comment(0)
H
5

The above noted npmjs now lists:

See also: http://yuilibrary.com/gallery/show/sqlplus

Hydrastinine answered 11/1, 2012 at 12:38 Comment(4)
so... which one is recommended? looks like node-oracle is being updated much more actively.Additory
I have only researched to evaluate the options for a project and did not really use the drivers so I can't recommend one.Hydrastinine
I'm partial to the "oracle" module, and have contributed a number of fixes for it. node-db-oracle is built on top of the abstraction layer node-db, which I believe leads to a more complex design. More importantly, the owner of "db-oracle" has not been accepting pull requests, while the owner of "oracle" has (even though he's not coding).Sweeping
I have juste installed node-oracle on Windows 7 64bit, and after a bit of effort it just works !Diapause
M
2

If there are no oracle database drivers listed in npm registry or within database modules, you will probably have to write your own driver (or wait until someone writes it).

Marque answered 15/3, 2011 at 21:46 Comment(4)
I think I'll try to write my own (open source, off course) driver. It'll be a good way to learn javascript properly.Monadism
@buenoFelipe, I'm interested in writing the oracle driver too. Did you start the project somewhere on Github by any chance?Nidianidicolous
Hey, George! I didn't start the project yet. I've been too busy last months... but let me know if u start to write it.Monadism
Finally someone wrote an oracle driver: github.com/mariano/node-db-oracleStressful

© 2022 - 2024 — McMap. All rights reserved.