Package Exports
- loopback-connector-oracle
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (loopback-connector-oracle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
loopback-connector-oracle
The Oracle Connector module for for loopback-datasource-juggler.
For full documentation, see the official StrongLoop Documentation.
NOTE: This connector is not currently compatible with Node v. 0.11. You must use v. 0.10.x.
Installation
To simplify the installation of node-oracle module and Oracle instant clients,
we introduce loopback-oracle-installer as a dependency which installs
and configures node-oracle upon npm install.
Please note config.oracleUrl is the property to define the base URL to download the corresponding node-oracle bundle for the local
environment.
The bundle file name is loopback-oracle-<platform>-<arch>-<version>.tar.gz. The version is the same as the version in package.json.
"dependencies": {
"loopback-oracle-installer": "git+ssh://git@github.com:strongloop/loopback-oracle-installer.git",
...
},
"config": {
"oracleUrl": "http://7e9918db41dd01dbf98e-ec15952f71452bc0809d79c86f5751b6.r22.cf1.rackcdn.com"
},The oracleUrl can be overridden via LOOPBACK_ORACLE_URL environment variable.
For MacOSX, the full URL is:
libaio library is required on Linux systems:
On Ubuntu/Debian
sudo apt-get install libaio1On Fedora/CentOS/RHEL
sudo yum install libaio
Please make sure c:\instantclient_12_1\vc10 comes before c:\instantclient_12_1
Examples
- example/app.js: Demonstrate the asynchronous discovery
- example/app-sync.js: Demonstrate the synchronous discovery
Running tests
npm test