示例#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
文件: zxjdbc.py 项目: rlanger/Rondo
 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)