数据库
ValleysWind
这个作者很懒,什么都没留下…
展开
-
ORA-01460: unimplemented or unreasonable conversion requested
我的问题是:pStmt->setDataBuffer(1, unitId, occi::OCCIINT, sizeof(unitId[0]), unitIdLen);原因其中的unitIdLen没有初始化原创 2015-01-13 14:40:14 · 2342 阅读 · 0 评论 -
occi Clob转换为std::string
oracle::occi::Clob the_clob = prs->getClob(2); unsigned int cloblen = the_clob.length(); char time_char[cloblen]; memset(time_char,0,cloblen); if (!the_clob.is原创 2015-01-21 14:59:01 · 791 阅读 · 0 评论