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
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2213,6 +2213,18 @@ Oracledb Methods
2213
2213
See :ref:`Connection Pool Cache <connpoolcache>` for details and examples.
2214
2214
2215
2215
.. versionadded:: 1.11
2216
+
* - ``privilege``
2217
+
- Number
2218
+
- Thin
2219
+
- .. _createpoolpoolattrsprivilege:
2220
+
2221
+
The privilege to use when establishing a connection to the database. This optional property should be one of the :ref:`privileged connection constants <oracledbconstantsprivilege>`. All privileges must be specified individually except for ``oracledb.SYSPRELIM``.
2222
+
2223
+
``oracledb.SYSPRELIM`` is specified only for startup and shutdown calls and must be used in combination with ``SYSDBA`` (``oracledb.SYSDBA | oracledb.SYSPRELIM``) or ``SYSOPER`` (``oracledb.SYOPER | oracledb.SYSPRELIM``).
2224
+
2225
+
See :ref:`Privileged Connections <privconn>` for more information.
2226
+
2227
+
.. versionadded:: 6.5.1
2216
2228
* - ``configDir``
2217
2229
- String
2218
2230
- Thin
@@ -3075,13 +3087,17 @@ Oracledb Methods
3075
3087
- Both
3076
3088
- .. _getconnectiondbattrsprivilege:
3077
3089
3078
-
The privilege to use when establishing connection to the database. This optional property should be one of the :ref:`privileged connection constants <oracledbconstantsprivilege>`. Multiple privileges may be used by when required, for example ``oracledb.SYSDBA | oracledb.SYSPRELIM``.
3090
+
The privilege to use when establishing connection to the database. This optional property should be one of the :ref:`privileged connection constants <oracledbconstantsprivilege>`. All privileges must be specified individually except for ``oracledb.SYSPRELIM``.
3079
3091
3080
-
See :ref:`Privileged Connections <privconn>` for more information.
3092
+
``oracledb.SYSPRELIM`` is specified only for startup and shutdown calls and must be used in combination with ``SYSDBA`` (``oracledb.SYSDBA | oracledb.SYSPRELIM``) or ``SYSOPER`` (``oracledb.SYOPER | oracledb.SYSPRELIM``).
3081
3093
3082
-
Note only non-pooled connections can be privileged.
3094
+
See :ref:`Privileged Connections <privconn>` for more information.
3083
3095
3084
3096
.. versionadded:: 2.1
3097
+
3098
+
.. versionchanged:: 6.5.1
3099
+
3100
+
The database privilege can be specified for pooled connections.
0 commit comments