Use generic connection credentials, not specific ones.

This commit is contained in:
Anthony Tuininga 2016-02-23 15:37:15 -07:00
parent 0fa31f21cc
commit 7b3868eafe

View File

@ -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")