From 2cfdb4037c260c859b2b273ce8a0afcdfe14c767 Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Tue, 22 Jan 2019 14:27:43 -0700 Subject: [PATCH] Add a note indicating that TABLE%ROWTYPE records can also be used. --- samples/PLSQLRecord.py | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/PLSQLRecord.py b/samples/PLSQLRecord.py index db25824..b12b196 100644 --- a/samples/PLSQLRecord.py +++ b/samples/PLSQLRecord.py @@ -21,6 +21,7 @@ connection = cx_Oracle.connect(SampleEnv.MAIN_CONNECT_STRING) # create new object of the correct type # note the use of a PL/SQL record defined in a package +# a table record identified by TABLE%ROWTYPE can also be used typeObj = connection.gettype("PKG_DEMO.UDT_DEMORECORD") obj = typeObj.newobject() obj.NUMBERVALUE = 6