Skip to content

Commit d8372e2

Browse files
committed
Update documentation and release notes for 6.9 release
1 parent 989eece commit d8372e2

File tree

2 files changed

+28
-42
lines changed

2 files changed

+28
-42
lines changed

doc/src/release_notes.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ that impact both Thin and Thick modes ('Common'), the changes that
1313
affect Thin mode (the default runtime behavior of node-oracledb from 6.0.0),
1414
and the changes that affect the optional :ref:`Thick Mode <enablingthick>`.
1515

16-
node-oracledb `v6.9.0 <https://github.com/oracle/node-oracledb/compare/v6.8.0...v6.9.0>`__ (TBD)
16+
node-oracledb `v6.9.0 <https://github.com/oracle/node-oracledb/compare/v6.8.0...v6.9.0>`__ (18 Jul 2025)
1717
---------------------------------------------------------------------------------------------------------
1818

1919
Common Changes
@@ -25,6 +25,14 @@ Common Changes
2525
#) Added support for :ref:`Transaction Guard <tg>` with the introduction of
2626
the :attr:`~connection.ltxid` property.
2727

28+
#) Added support for
29+
:ref:`instance principal authentication <_create_pool_oci_properties>`
30+
in :ref:`native IAM token-based authentication <cloudnativeauthoci>`
31+
with Oracle Cloud Infrastructure.
32+
33+
#) Added support for setting the :ref:`application context <appcontext>` with
34+
database connections.
35+
2836
#) Added ``precision``, ``scale``, and ``maxSize`` attributes to the
2937
:attr:`dbObject.attributes` property which provide additional metadata
3038
about the database object.
@@ -47,14 +55,6 @@ Common Changes
4755
:ref:`centralized configuration provider <configproviderplugins>`
4856
extension modules.
4957

50-
#) Added support for
51-
:ref:`instance principal authentication <_create_pool_oci_properties>`
52-
in :ref:`native IAM token-based authentication <cloudnativeauthoci>`
53-
with Oracle Cloud Infrastructure.
54-
55-
#) Added support for setting the :ref:`application context <appcontext>` with
56-
database connections.
57-
5858
#) Added a second argument for the
5959
:attr:`fetchTypeHandler <oracledb.fetchTypeHandler>` call to get
6060
the metadata of all the result columns.

doc/src/user_guide/txn_management.rst

Lines changed: 19 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@ the database server waits for the `DISTRIBUTED_LOCK_TIMEOUT
151151
412D-95F2-5B6C1F18415D>`__ time to allow other instances to suspend this
152152
transaction before proceeding with a commit or rollback.
153153

154+
Note that there are some constraints when using Sessionless Transactions.
155+
You cannot rollback to a savepoint of the sessionless transaction in a
156+
previous connection. Sessionless Transactions cannot be promoted to
157+
:ref:`distributedtxns`. Session states such as all parameters set by
158+
ALTER SESSION, temporary LOB states, and PL/SQL states are not carried over to
159+
the new connection. For more information on other constraints, see
160+
`Restrictions for Sessionless Transactions <https://www.oracle.com/pls/topic/
161+
lookup?ctx=dblatest&id=GUID-7F76D67C-4470-4DA3-BAAE-8E243D9FA87B>`__.
162+
154163
For more information on Sessionless Transactions, see `Developing Applications
155164
with Sessionless Transactions <https://www.oracle.com/pls/topic/lookup?ctx=
156165
dblatest&id=GUID-C1F67D04-CE72-416E-8CED-243E5710E83D>`__ in the Oracle
@@ -180,11 +189,11 @@ You can pass the following parameters to
180189

181190
- ``transactionId``: This parameter is the unique identifier of the
182191
transaction which is used to manage the transaction from start to end. If
183-
you do not specify the ``transactionId`` value, node-oracledb generates a
184-
unique identifier for the transaction as a `universally-unique identifier
185-
(UUID) <https://www.rfc-editor.org/rfc/rfc4122.txt>`__ value when
186-
:meth:`connection.beginSessionlessTransaction` is called. An example of a
187-
transaction identifier in UUID v4 is "36b8f84d-df4e-4d49-b662-bcde71a8764f".
192+
you do not specify the ``transactionId`` value, a unique `universally-unique
193+
identifier (UUID) <https://www.rfc-editor.org/rfc/rfc4122.txt>`__ is
194+
generated and returned by
195+
:meth:`~Connection.beginSessionlessTransaction`. An example is
196+
"36b8f84d-df4e-4d49-b662-bcde71a8764f".
188197

189198
- ``timeout``: This parameter determines the duration before which this
190199
transaction can be resumed by a connection the next time that it is
@@ -238,11 +247,6 @@ performance. For example:
238247

239248
.. code-block:: javascript
240249
241-
const connection = await oracledb.getConnection({
242-
user : "hr",
243-
password : mypw, // mypw contains the hr schema password
244-
connectString : "mydbmachine.example.com/orclpdb1"
245-
});
246250
const result = await connection.execute(
247251
`INSERT INTO slt_table (name) VALUES ('John')`, {},
248252
{suspendOnSuccess: true});
@@ -276,10 +280,9 @@ You can set the following parameters in
276280

277281
- ``timeout``: This parameter specifies how long this connection should wait
278282
to resume a sessionless transaction if it is currently in use by another
279-
connection. This timeout is only effective when the transaction is in use by
280-
another connection. In this case, the current connection waits for the
281-
transaction to be suspended within this timeout period. If the transaction
282-
remains in use by the other connection after the timeout period, the error
283+
connection. In this case, the current connection waits for the transaction
284+
to be suspended within this timeout period. If the transaction remains in
285+
use by the other connection after the timeout period, the error
283286
`ORA-25351 <https://docs.oracle.com/en/error-help/db/ora-25351>`__ is raised.
284287
If another connection completes the transaction, the error `ORA-24756
285288
<https://docs.oracle.com/en/error-help/db/ora-24756>`__ is raised. These
@@ -363,15 +366,6 @@ code snippet)::
363366

364367
[ [ 1, 'John' ], [ 2, 'Jane' ]]
365368

366-
Note that there are some constraints when using Sessionless Transactions.
367-
You cannot rollback to a savepoint of the sessionless transaction in a
368-
previous conneciton. Sessionless Transactions cannot be promoted to XA
369-
(Extended Architecture) Transactions. Session states such as all parameters
370-
set by ALTER SESSION, Temp LOB states, and PL/SQL states are not carried over
371-
to the new connection. For more information on other constraints, see
372-
`Restrictions for Sessionless Transactions <https://www.oracle.com/pls/topic/
373-
lookup?ctx=dblatest&id=GUID-7F76D67C-4470-4DA3-BAAE-8E243D9FA87B>`__.
374-
375369
.. _viewsessionlesstxns:
376370

377371
Viewing Sessionless Transactions
@@ -388,18 +382,10 @@ following query with `NVL() <https://docs.oracle.com/en/database/oracle/oracle
388382

389383
.. code-block:: sql
390384
391-
SELECT NVL(dbms_transaction.get_transaction_id, 'NULL transactionId') FROM dual;
385+
SELECT NVL(dbms_transaction.get_transaction_id, 'NULL transactionId')
386+
FROM dual;
392387
393388
The `GET_TRANSACTION_ID Function <https://www.oracle.com/pls/topic/lookup?ctx=
394389
dblatest&id=GUID-5E1C1B63-207F-4587-8259-0CED93EB9643>`__ of the
395390
DBMS_TRANSACTION package returns the transaction identifier that is used in
396391
the current connection.
397-
398-
Note that there are some constraints when using Sessionless Transactions.
399-
You cannot rollback to a savepoint of the sessionless transaction in a
400-
previous connection. Sessionless Transactions cannot be promoted to XA
401-
(Extended Architecture) Transactions. Session states such as all parameters
402-
set by ALTER SESSION, temporary LOB states, and PL/SQL states are not carried
403-
over to the new connection. For more information on other constraints, see
404-
`Restrictions for Sessionless Transactions <https://www.oracle.com/pls/topic/
405-
lookup?ctx=dblatest&id=GUID-7F76D67C-4470-4DA3-BAAE-8E243D9FA87B>`__.

0 commit comments

Comments
 (0)