On Thursday, March 12, 2015 at 5:23:17 PM UTC-7, Gary Furash wrote: > > Given an Oracle DB, it seems my choices are the node-oracledb (which isn't > part of NPM) and node-jdbc, both of which seem to require an inordinate > amount of prerequisites (e.g., getting the right C++ compiler, python, > etc.). Is there a simpler way of connecting to a DB via NODE, a la JDBC > (e.g., you just need a jar file for the db). >
If you are speaking about Windows, yes installing has a few steps. This is typical for Windows. On Linux life is much, much easier. You download and install two, smallish, free Oracle Instant Client RPM packages. Then installing node-oracledb doesn't require anything special e.g. no environment variables need to be set at build or runtime. You just 'npm install' and start using it. See the install instructions in the repo https://github.com/oracle/node-oracledb/blob/master/INSTALL.md#instrpm There is an unofficial node-oracledb release on NPM. An official one will be coming soon. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/bc0fadf7-762f-4280-a5f6-a8d2edf09320%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
