Skip to content

Commit 5298350

Browse files
committed
Fix for Issue #1571 - bug with getting the value of a LOB stored in a DbObject
1 parent 9617b45 commit 5298350

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/src/release_notes.rst

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ node-oracledb `v6.0.2 <https://github.com/oracle/node-oracledb/compare/v6.0.1...
1111
Thin Mode Changes
1212
+++++++++++++++++
1313

14+
#) Fixed bug with getting the value of a LOB stored in a DbObject
15+
`Issue #1571 <https://github.com/oracle/node-oracledb/issues/1571>`__.
16+
1417
#) Fixed bug connecting to databases with older 11g password verifiers.
1518

1619
#) Fixed bug when the length of a chunk inside a chunked read spans packets.

lib/connection.js

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ class Connection extends EventEmitter {
146146
cls = this._buildDbObjectClass(objType);
147147
cls._connection = this;
148148
cls._objType = objType;
149+
objType._connection = this._impl;
149150
this._dbObjectClasses.set(objType, cls);
150151
}
151152
return (cls);

0 commit comments

Comments
 (0)