@@ -609,6 +609,30 @@ Connection Attributes
609
609
610
610
This attribute is an extension to the DB API definition.
611
611
612
+ .. attribute :: Connection.db_domain
613
+
614
+ This read-only attribute specifies the Oracle Database domain name
615
+ associated with the connection. It is the same value returned by the SQL
616
+ ``SELECT value FROM V$PARAMETER WHERE NAME = 'db_domain' ``.
617
+
618
+ .. versionadded :: 2.0.0
619
+
620
+ .. note ::
621
+
622
+ This attribute is an extension to the DB API definition.
623
+
624
+ .. attribute :: Connection.db_name
625
+
626
+ This read-only attribute specifies the Oracle Database name associated with
627
+ the connection. It is the same value returned by the SQL
628
+ ``SELECT NAME FROM V$DATABASE ``.
629
+
630
+ .. versionadded :: 2.0.0
631
+
632
+ .. note ::
633
+
634
+ This attribute is an extension to the DB API definition.
635
+
612
636
.. attribute :: Connection.dbop
613
637
614
638
This write-only attribute sets the database operation that is to be
@@ -742,6 +766,19 @@ Connection Attributes
742
766
This attribute is an extension to the DB API definition.
743
767
744
768
769
+ .. attribute :: Connection.max_open_cursors
770
+
771
+ This read-only attribute specifies the maximum number of cursors that the
772
+ database can have open concurrently. It is the same value returned by the
773
+ SQL ``SELECT VALUE FROM V$PARAMETER WHERE NAME = 'open_cursors' ``.
774
+
775
+ .. versionadded :: 2.0.0
776
+
777
+ .. note ::
778
+
779
+ This attribute is an extension to the DB API definition.
780
+
781
+
745
782
.. attribute :: Connection.module
746
783
747
784
This write-only attribute sets the module column in the v$session table.
@@ -784,6 +821,18 @@ Connection Attributes
784
821
785
822
This attribute is an extension to the DB API definition.
786
823
824
+ .. attribute :: Connection.service_name
825
+
826
+ This read-only attribute specifies the Oracle Database service name
827
+ associated with the connection. This is the same value returned by the SQL
828
+ ``SELECT SYS_CONTEXT('USERENV', 'SERVICE_NAME') FROM DUAL ``.
829
+
830
+ .. versionadded :: 2.0.0
831
+
832
+ .. note ::
833
+
834
+ This attribute is an extension to the DB API definition.
835
+
787
836
.. attribute :: Connection.stmtcachesize
788
837
789
838
This read-write attribute specifies the size of the statement cache. This
@@ -837,6 +886,17 @@ Connection Attributes
837
886
838
887
This attribute is an extension to the DB API definition.
839
888
889
+ .. attribute :: Connection.transaction_in_progress
890
+
891
+ This read-only attribute specifies whether a transaction is currently in
892
+ progress on the database associated with the connection.
893
+
894
+ .. versionadded :: 2.0.0
895
+
896
+ .. note ::
897
+
898
+ This attribute is an extension to the DB API definition.
899
+
840
900
.. attribute :: Connection.username
841
901
842
902
This read-only attribute returns the name of the user which established the
0 commit comments