baztian/jaydebeapi

How to accept CLOB data from database?

huang508 opened this issue · 2 comments

type : com.ibm.db2.jcc.am.te@7a685a3c

有人知道吗?

我这边处理clob是jdbc返回值调用getSubString
res = db_util.execute_sql(sql)
res = [(r[0].getSubString(1, int(r[0].length())) if r[0] else "") for r in res]