diff --git a/binding.gyp b/binding.gyp
index 325e6b65..a7487e5e 100644
--- a/binding.gyp
+++ b/binding.gyp
@@ -79,36 +79,87 @@
}
}
],
- ["OS=='win'", {
- "variables" : {
- "oci_lib_dir%": "Error: " + text + "
");
diff --git a/package.json b/package.json
index 70577bd5..5f16b6e1 100644
--- a/package.json
+++ b/package.json
@@ -1,29 +1,50 @@
{
- "name" : "oracledb",
- "version" : "0.5.0",
- "description" : "Oracle Database driver by Oracle Corp.",
- "license" : "Apache 2.0",
- "homepage": "http://www.oracle.com/technetwork/database/database-technologies/node_js/index.html",
- "keywords" : [
- "oracledb", "dboracle", "Node.js", "SQL", "PL/SQL", "connection", "connectivity", "OCI", "client", "plugin", "library", "driver", "extension", "binding", "interface", "adapter", "module", "DB", "official", "Database", "Oracle"
- ],
- "repository" : {
- "type" : "git",
- "url" : "git://github.com/oracle/node-oracledb.git"
- },
- "dependencies" : {
- },
- "engines" : {
- "node" : ">=0.10.28 <0.11"
- },
- "engineStrict": true,
- "maintainers" : [
- {
- "name" : "Oracle Corp."
- }
- ],
- "bugs" : {
- "url" : "https://github.com/oracle/node-oracledb/issues"
- },
- "main" : "./index.js"
+ "name": "oracledb",
+ "version": "0.5.0",
+ "description": "Oracle Database driver by Oracle Corp.",
+ "license": "Apache 2.0",
+ "homepage": "http://www.oracle.com/technetwork/database/database-technologies/node_js/index.html",
+ "keywords": [
+ "oracledb",
+ "dboracle",
+ "Node.js",
+ "SQL",
+ "PL/SQL",
+ "connection",
+ "connectivity",
+ "OCI",
+ "client",
+ "plugin",
+ "library",
+ "driver",
+ "extension",
+ "binding",
+ "interface",
+ "adapter",
+ "module",
+ "DB",
+ "official",
+ "Database",
+ "Oracle"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/oracle/node-oracledb.git"
+ },
+ "dependencies": {
+ "nan": "^1.8.4"
+ },
+ "engines": {
+ "node": ">=0.10.28"
+ },
+ "engineStrict": true,
+ "maintainers": [
+ {
+ "name": "Oracle Corp."
+ }
+ ],
+ "bugs": {
+ "url": "https://github.com/oracle/node-oracledb/issues"
+ },
+ "main": "./index.js"
}
diff --git a/src/njs/src/njsConnection.cpp b/src/njs/src/njsConnection.cpp
index 0d9076c6..303249c8 100644
--- a/src/njs/src/njsConnection.cpp
+++ b/src/njs/src/njsConnection.cpp
@@ -77,37 +77,37 @@ void Connection::setConnection(dpi::Conn* dpiconn, Oracledb* oracledb)
*/
void Connection::Init(Handle