Skip to content

Commit 97fd0d7

Browse files
committed
Merge with the latest version of oracledb
2 parents ac0a3bf + a867a81 commit 97fd0d7

24 files changed

+1034
-815
lines changed

.npmignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
INSTALL.md
2+
CONTRIBUTING.md
3+
/doc
4+
/examples
5+
/build
6+
/node_modules
7+
/test
8+
/oracle_private_test
9+
oracledb-*.tgz
10+
.npmignore

INSTALL.md

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ limitations under the License.
3030
The steps below create a standalone Node.js installation for testing.
3131
Adjust the steps for your environment.
3232

33-
The node-oracledb release has been tested with Node.js 0.10.35 on
34-
64-bit Oracle Linux. The driver can also build in some 32-bit Linux,
35-
Solaris and Mac OS X environments, but these architectures have not
36-
been fully tested. Installation on those platforms is similar to the
37-
steps described in this document.
33+
This node-oracledb release currently works only with Node.js 0.10. It
34+
has been tested with 0.10.35 on 64-bit Oracle Linux and Windows. The
35+
driver can also build in some Mac OS X, 32-bit Linux, 32-bit Windows,
36+
Solaris and AIX environments, but these architectures have not been fully
37+
tested.
3838

3939
Node-oracledb is currently only available on GitHub.
4040

@@ -53,15 +53,15 @@ install Xcode.
5353

5454
Instructions may need to be adjusted for your platform and environment.
5555

56-
5756
I have ... | Follow this ...
5857
----------|-----------------
5958
Linux. My database is on another machine. | [Node-oracledb Installation on Linux with Instant Client RPMs](#instrpm)
60-
Solaris. My database is on another machine. | [Node-oracledb Installation on Linux with Instant Client ZIP files](#instzip)
61-
Linux or Solaris, with a database on the same machine. | [Node-oracledb Installation on Linux with a Local Database](#instoh)
62-
Linux or Solaris, with the full Oracle client (installed via runInstaller) on the same machine. | [Node-oracledb Installation on Linux with a Local Database](#instoh)
63-
Mac OS X. | [Node-oracledb Installation on OS X with Instant Client](#instosx)
64-
Another OS with Oracle 11.2 or 12.1 libraries available | Update binding.gyp and make any code changes required, sign the [OCA](https://www.oracle.com/technetwork/community/oca-486395.html), and submit a pull request with your patch (Windows support is already being worked on).
59+
Solaris or AIX. My database is on another machine. | [Node-oracledb Installation on Linux with Instant Client ZIP files](#instzip)
60+
Linux, Solaris or AIX. My database is on the same machine. | [Node-oracledb Installation on Linux with a Local Database](#instoh)
61+
Linux, Solaris or AIX. I have the full Oracle client (installed via runInstaller) on the same machine. | [Node-oracledb Installation on Linux with a Local Database](#instoh)
62+
Apple OS X | [Node-oracledb Installation on OS X with Instant Client](#instosx)
63+
Windows | [Node-oracledb Installation on Windows](#instwin)
64+
Another OS with Oracle 11.2 or 12.1 libraries available | Update binding.gyp and make any code changes required, sign the [OCA](https://www.oracle.com/technetwork/community/oca-486395.html), and submit a pull request with your patch.
6565

6666
### Other Resources Useful for node-oracledb
6767

@@ -92,6 +92,9 @@ On Linux, the node-oracledb installer looks for Oracle client libraries and head
9292
git clone https://github.com/oracle/node-oracledb.git
9393
```
9494

95+
Alternatively, download the ZIP file from
96+
https://github.com/oracle/node-oracledb and extract it.
97+
9598
### 2.2 Install Node.js
9699

97100
Download the
@@ -171,6 +174,9 @@ node examples/select1.js
171174
git clone https://github.com/oracle/node-oracledb.git
172175
```
173176

177+
Alternatively, download the ZIP file from
178+
https://github.com/oracle/node-oracledb and extract it.
179+
174180
### 3.2 Install Node.js
175181

176182
Download the
@@ -279,6 +285,9 @@ Oracle Database.
279285
git clone https://github.com/oracle/node-oracledb.git
280286
```
281287

288+
Alternatively, download the ZIP file from
289+
https://github.com/oracle/node-oracledb and extract it.
290+
282291
### 4.2 Install Node.js
283292

284293
Download the
@@ -301,7 +310,7 @@ export PATH=$HOME/Desktop/node-v0.10.35-linux-x64/bin:$PATH
301310
Tell the installer where to find the Oracle client:
302311

303312
```
304-
export ORACLE_HOME=/wherever/it/is/see/etc/oratab
313+
export ORACLE_HOME=/whereever/it/is
305314
```
306315

307316
*Warning*: By default, the installer will look first for Oracle
@@ -367,6 +376,9 @@ Building node-oracledb requires Xcode from the Mac App store.
367376
git clone https://github.com/oracle/node-oracledb.git
368377
```
369378

379+
Alternatively, download the ZIP file from
380+
https://github.com/oracle/node-oracledb and extract it.
381+
370382
### 5.3 Install Node.js
371383

372384
Node can be installed from various sources, such as via *brew*.
@@ -477,6 +489,9 @@ to add the Python directories to the path.
477489
git clone https://github.com/oracle/node-oracledb.git
478490
```
479491

492+
Alternatively, download the ZIP file from
493+
https://github.com/oracle/node-oracledb and extract it.
494+
480495
### 6.3 Install Node.js
481496

482497
Install the 64 bit Node.js MSI from [nodejs.org](http://nodejs.org/download/)

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
# node-oracledb version 0.3
1+
# node-oracledb version 0.4
22

33
## <a name="about"></a> 1. About node-oracledb
44

55
The Oracle Database Node.js driver powers high performance
66
Node.js applications.
77

8-
Node-oracledb 0.3 supports basic and advanced Oracle features, including:
8+
Node-oracledb 0.4 supports basic and advanced Oracle features, including:
99

1010
- SQL and PL/SQL Execution
11-
- Binding using JavaScript objects or arrays
1211
- Query results as JavaScript objects or array
12+
- Binding using JavaScript objects or arrays
1313
- Conversion between JavaScript and Oracle types
1414
- Transaction Management
1515
- Connection Pooling
16-
- [Database Resident Connection Pooling](#http://docs.oracle.com/database/121/ADFNS/adfns_perf_scale.htm#ADFNS228) (DRCP)
16+
- [Database Resident Connection Pooling](http://docs.oracle.com/database/121/ADFNS/adfns_perf_scale.htm#ADFNS228) (DRCP)
17+
- [External Authentication](http://docs.oracle.com/database/121/DBSEG/authentication.htm#DBSEG99840)
1718
- [Statement Caching](http://docs.oracle.com/database/121/LNOCI/oci09adv.htm#i471377)
1819
- [Client Result Caching](http://docs.oracle.com/database/121/ADFNS/adfns_perf_scale.htm#ADFNS464)
1920
- [End-to-end tracing](http://docs.oracle.com/database/121/TGSQL/tgsql_trace.htm#CHDBDGIJ)
@@ -22,7 +23,7 @@ Node-oracledb 0.3 supports basic and advanced Oracle features, including:
2223
- [Runtime Load Balancing](http://docs.oracle.com/database/121/ADFNS/adfns_perf_scale.htm#ADFNS515) (RLB)
2324
- [Transparent Application Failover](http://docs.oracle.com/database/121/ADFNS/adfns_avail.htm#ADFNS534) (TAF)
2425

25-
Node-oracledb 0.3 is a preview release. We are actively working on
26+
Node-oracledb 0.4 is a preview release. We are actively working on
2627
adding features including LOB support and batch fetching / streaming
2728
of large query result sets.
2829

@@ -82,15 +83,15 @@ There are more examples in the [examples](examples) directory.
8283

8384
The current release of node-oracledb is available only on GitHub. The basic install steps are:
8485

85-
- Install the small, free [Oracle Instant Client](http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html) libraries, or have a local database such as the free [Oracle XE](http://www.oracle.com/technetwork/database/database-technologies/express-edition/overview/index.html) release.
86+
- Install the small, free [Oracle Instant Client](http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html) libraries if your database is remote, or have a local database such as the free [Oracle XE](http://www.oracle.com/technetwork/database/database-technologies/express-edition/overview/index.html) release.
8687
- Clone this repository
8788
- Run `npm install`
8889

8990
See [INSTALL](INSTALL.md) for details.
9091

9192
## <a name="doc"></a> 3. Documentation
9293

93-
See [API Documentation](doc/api.md)
94+
See [Documentation for the Oracle Database Node.js Driver](doc/api.md)
9495

9596
## <a name="contrib"></a> 4. Contributing
9697

0 commit comments

Comments
 (0)