You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3777,7 +3777,7 @@ The `message` parameter in the notification callback is an object containing the
3777
3777
- `queueName` - the name of the Advanced Queue. Undefined for CQN. This was added in node-oracledb 4.0.
3778
3778
- `queries` - an array of objects specifying the queries which were affected by the Query Change notification. This is only defined if the `type` key is the value [`oracledb.SUBSCR_EVENT_TYPE_QUERY_CHANGE`](#oracledbconstantssubscription). It contains the following key:
3779
3779
- `tables` - an array of objects identical to the objects created for Database Change Notification (see the `tables` property below).
3780
-
- `registered` - a boolean indicating whether the subscription is registerd with the database. Will be *false* if `type` is [`oracledb.SUBSCR_EVENT_TYPE_DEREG`](#oracledbconstantssubscription) or if the subscription was created with the [`qos`](#consubscribeoptqos) property set to [`oracledb.SUBSCR_QOS_DEREG_NFY`](#oracledbconstantssubscription).
3780
+
- `registered` - a boolean indicating whether the subscription is registered with the database. Will be *false* if `type` is [`oracledb.SUBSCR_EVENT_TYPE_DEREG`](#oracledbconstantssubscription) or if the subscription was created with the [`qos`](#consubscribeoptqos) property set to [`oracledb.SUBSCR_QOS_DEREG_NFY`](#oracledbconstantssubscription).
3781
3781
- `tables` - an array of objects specifying the tables which were affected by the notification. This is only defined if `type` is [`oracledb.SUBSCR_EVENT_TYPE_OBJ_CHANGE`](#oracledbconstantssubscription). It contains the following properties:
3782
3782
- `name` - the name of the table which was modified in some way.
3783
3783
- `operation` - an integer mask composed of one or more values of the following constants:
@@ -3794,7 +3794,7 @@ The `message` parameter in the notification callback is an object containing the
3794
3794
- `type` - the type of notification sent. This will be the value of one of the following constants:
3795
3795
- [`oracledb.SUBSCR_EVENT_TYPE_AQ`](#oracledbconstantssubscription) - One or more Advanced Queuing messages are available to be dequeued.
3796
3796
- [`oracledb.SUBSCR_EVENT_TYPE_DEREG`](#oracledbconstantssubscription) - the subscription has been closed or the timeout value has been reached.
3797
-
- [`oracledb.SUBSCR_EVENT_TYPE_OBJ_CHANGE`](#oracledbconstantssubscription) - object-level notications are being used (Database Change Notification).
3797
+
- [`oracledb.SUBSCR_EVENT_TYPE_OBJ_CHANGE`](#oracledbconstantssubscription) - object-level notifications are being used (Database Change Notification).
3798
3798
- [`oracledb.SUBSCR_EVENT_TYPE_QUERY_CHANGE`](#oracledbconstantssubscription) - query-level notifications are being used (Continuous Query Notification).
@@ -4041,7 +4041,7 @@ Attribute Name | Description
4041
4041
------------------------|------------
4042
4042
`deliveryMode` | An integer defining the delivery mode when enqueuing messages. It can be one of the following constants: [`oracledb.AQ_MSG_DELIV_MODE_PERSISTENT`](#oracledbconstantsaq), [`oracledb.AQ_MSG_DELIV_MODE_BUFFERED`](#oracledbconstantsaq), [`oracledb.AQ_MSG_DELIV_MODE_PERSISTENT_OR_BUFFERED`](#oracledbconstantsaq)
4043
4043
`transformation` | A string defining the transformation that will take place when messages are enqueued.
4044
-
`visibility` | An integer value that defines whether the enqueue occurs in the current transaction or as a separate transction. It can be one of the following constants: [`oracledb.AQ_VISIBILITY_IMMEDIATE`](#oracledbconstantsaq), [`oracledb.AQ_VISIBILITY_ON_COMMIT`](#oracledbconstantsaq).
4044
+
`visibility` | An integer value that defines whether the enqueue occurs in the current transaction or as a separate transaction. It can be one of the following constants: [`oracledb.AQ_VISIBILITY_IMMEDIATE`](#oracledbconstantsaq), [`oracledb.AQ_VISIBILITY_ON_COMMIT`](#oracledbconstantsaq).
4045
4045
4046
4046
See [Oracle Advanced Queuing Documentation][129] for more information about attributes.
4047
4047
@@ -4150,7 +4150,7 @@ undefined if no message is available.
4150
4150
##### <a name="aqmessageclass"></a> 5.2.2.1 AqMessage Class
4151
4151
4152
4152
Dequeued messages are returned as AqMessage objects. Note AqMessage
4153
-
objectss are not used for enqueuing.
4153
+
objects are not used for enqueuing.
4154
4154
4155
4155
Attribute Name | Description
4156
4156
----------------|--------------
@@ -4159,7 +4159,7 @@ Attribute Name | Description
4159
4159
`deliveryMode` | An integer containing the delivery mode the messages was enqueued with.
4160
4160
`exceptionQueue`| A String containing the name of the exception queue defined when the message was enqueued.
4161
4161
`expiration` | The number of seconds until expiration defined when the message was enqueued.
4162
-
`msgId` | A Buffer containing the unique identifier of the messsage.
4162
+
`msgId` | A Buffer containing the unique identifier of the message.
4163
4163
`numAttempts` | An integer containing the number of attempts that were made to dequeue the message.
4164
4164
`originalMsgId` | A Buffer containing the unique identifier of the message in the last queue that generated it.
4165
4165
`payload` | A Buffer or DbObject containing the payload of the message, depending on the value of `queue.payloadType`. Note that enqueued Strings are returned as UTF-8 encoded Buffers.
@@ -4817,7 +4817,7 @@ The `drainTime` parameter was added in node-oracledb 3.0.
@@ -5886,7 +5886,7 @@ This method was added in node-oracledb 3.0.
5886
5886
Callback function parameter | Description
5887
5887
----------------------------|-------------
5888
5888
*Error error* | If `getDataGuide()` succeeds, `error` is NULL. If an error occurs, then `error` contains the error message.
5889
-
*SodaDocument document* | The SodaDocument containining JSON content which can be accessed from the document as normal with [`sodaDocument.getContent()`](#sodadocgetcontent), [`sodaDocument.getContentAsString()`](#sodadocgetcontentasstring) or [`sodaDocument.getContentAsBuffer()`](#sodadocgetcontentasbuffer).
5889
+
*SodaDocument document* | The SodaDocument containing JSON content which can be accessed from the document as normal with [`sodaDocument.getContent()`](#sodadocgetcontent), [`sodaDocument.getContentAsString()`](#sodadocgetcontentasstring) or [`sodaDocument.getContentAsBuffer()`](#sodadocgetcontentasbuffer).
@@ -8131,7 +8131,7 @@ works on it for a relatively short duration, and then releases it.
8131
8131
8132
8132
To use DRCP in node-oracledb:
8133
8133
8134
-
1. The DRCP pool must be started in the database: `SQL> execute dbms_connection_pool.start_pool();`
8134
+
1. The DRCP pool must be started in the database: `SQL> EXECUTE DBMS_CONNECTION_POOL.START_POOL();`
8135
8135
2. The [`connectionClass`](#propdbconclass) should be set by the node-oracledb application. If it is not set, the pooled server session memory will not be reused optimally, and the statistic views will record large values for `NUM_MISSES`.
8136
8136
3. The `pool.createPool()` or `oracledb.getConnection()` property `connectString` (or its alias `connectionString`) must specify to use a pooled server, either by the Easy Connect syntax like [`myhost/sales:POOLED`](#easyconnect), or by using a [`tnsnames.ora`](#tnsnames) alias for a connection that contains `(SERVER=POOLED)`.
0 commit comments