Пример #1
0
 def setJDBCObject(self, statement, index, object, dbtype=None):
     if type(object) is ReturningParam:
         statement.registerReturnParameter(index, object.type)
     elif dbtype is None:
         OracleDataHandler.setJDBCObject(self, statement, index, object)
     else:
         OracleDataHandler.setJDBCObject(self, statement, index, object, dbtype)
Пример #2
0
 def setJDBCObject(self, statement, index, object, dbtype=None):
     if type(object) is ReturningParam:
         statement.registerReturnParameter(index, object.type)
     elif dbtype is None:
         OracleDataHandler.setJDBCObject(self, statement, index, object)
     else:
         OracleDataHandler.setJDBCObject(self, statement, index, object, dbtype)