如题,读取Double、Integer、DateTime、Varchar类型的数据时出现乱码,而Character、Numeric、Date、Float能正确读取。
1条回答 默认 最新
- shaopeng_1990 2014-06-06 09:35关注
byte[] b = new byte[fis1.available()];
fis1.read(b);
cqPO.setDataSourceBlob(Hibernate.createBlob(b));// 只能通过字节读取看了下b中的数据,对应的Double、Integer、DateTime、Varchar类型的数据都不对
解决 无用评论 打赏 举报