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
Copy file name to clipboardExpand all lines: doc/src/api_manual/oracledb.rst
+211-3Lines changed: 211 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2035,8 +2035,7 @@ Oracledb Methods
2035
2035
- Both
2036
2036
- .. _createpoolpoolattrsconnectstring:
2037
2037
2038
-
The Oracle database instance used by connections in the pool. The string can be an Easy Connect string, or a Net Service Name from a ``tnsnames.ora`` file, or the name of a local Oracle Database instance. See :ref:`Connection Strings
2039
-
<connectionstrings>` for examples.
2038
+
The Oracle database instance used by connections in the pool. The string can be an Easy Connect string, or a Net Service Name from a ``tnsnames.ora`` file, or the name of a local Oracle Database instance. See :ref:`Oracle Net Services Connection String <connectionstrings>` for examples.
2040
2039
2041
2040
.. versionadded:: 2.1
2042
2041
@@ -2811,7 +2810,7 @@ Oracledb Methods
2811
2810
- Both
2812
2811
- .. _getconnectiondbattrsconnectstring:
2813
2812
2814
-
The Oracle database instance to connect to. The string can be an Easy Connect string, or a Net Service Name from a ``tnsnames.ora`` file, or the name of a local Oracle database instance. See :ref:`Connection Strings<connectionstrings>` for examples.
2813
+
The Oracle database instance to connect to. The string can be an Easy Connect string, or a Net Service Name from a ``tnsnames.ora`` file, or the name of a local Oracle database instance. See :ref:`Oracle Net Services Connection String<connectionstrings>` for examples.
2815
2814
2816
2815
The two properties are aliases for each other. Use only one of the properties.
2817
2816
@@ -3686,3 +3685,212 @@ Global_Objects/Uint8Array>`__ and can be instantiated in the same way as an
3686
3685
Uint8Array datatype object.
3687
3686
3688
3687
.. versionadded:: 6.5
3688
+
3689
+
.. _tracehandlerinterface:
3690
+
3691
+
Oracledb TraceHandler Interface
3692
+
===============================
3693
+
3694
+
The :ref:`TraceHandlerBase class <tracehandlerbaseclass>` acts as an
3695
+
interface which provides abstract methods that can be implemented by derived
3696
+
classes. The implemented methods can use the ``traceContext`` in/out parameter
3697
+
with OpenTelemetry.
3698
+
3699
+
.. versionadded:: 6.7
3700
+
3701
+
.. _tracehandlerbaseclass:
3702
+
3703
+
TraceHandlerBase Class
3704
+
----------------------
3705
+
3706
+
TraceHandlerBase Methods
3707
+
++++++++++++++++++++++++
3708
+
3709
+
.. method:: traceHandlerBase.disable()
3710
+
3711
+
.. code-block:: javascript
3712
+
3713
+
disable();
3714
+
3715
+
Disables invoking the Abstract methods with traceContext data. Note that
3716
+
this is a synchronous method.
3717
+
3718
+
.. method:: traceHandlerBase.enable()
3719
+
3720
+
.. code-block:: javascript
3721
+
3722
+
enable();
3723
+
3724
+
Enables invoking the Abstract methods with traceContext data. Note that
3725
+
this is a synchronous method.
3726
+
3727
+
.. method:: traceHandlerBase.isEnabled()
3728
+
3729
+
.. code-block:: javascript
3730
+
3731
+
isEnabled();
3732
+
3733
+
Determines if the abstract methods will be invoked.
3734
+
3735
+
.. method:: onEnterFn()
3736
+
3737
+
.. code-block:: javascript
3738
+
3739
+
onEnterFn([Object traceContext]);
3740
+
3741
+
This method is invoked before a public method passes the traceContext.
0 commit comments