虽然设置了lazy="true",但是每次在批量抓取的时候hibernate还是会把clob字段读进来,大家帮忙看下问题出在哪呢? Hibernate: select this_.userID as userID0_0_, this_.loginName as loginName0_0_, this_.detail as detail0_0_ from userinfo this_
String hql ="select new " + attachFile + " (t1.docAttachFileOID,t1.fileName,t1.extName,t1.fileType,t1.extOID,t1.fileSize) from " + attachFile+" as t1 where t1.theExchangeDoc.exchangeDocOID = ?"; List list= hibernateOperations.find(hql, exchangeDocOID);