Use generic connection credentials, not specific ones.
This commit is contained in:
parent
0fa31f21cc
commit
7b3868eafe
@ -9,7 +9,7 @@ from __future__ import print_function
|
||||
import cx_Oracle
|
||||
|
||||
# create and populate Oracle objects
|
||||
connection = cx_Oracle.Connection("cx_Oracle/dev")
|
||||
connection = cx_Oracle.Connection("user/pw@tns")
|
||||
typeObj = connection.gettype("SDO_GEOMETRY")
|
||||
elementInfoTypeObj = connection.gettype("SDO_ELEM_INFO_ARRAY")
|
||||
ordinateTypeObj = connection.gettype("SDO_ORDINATE_ARRAY")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user