1我的数据库类型--》timestamp
映射类型---------》String
java类型------------->String
我的数据库存进的数如0x0000000000000FA5,
请问怎么读出来。2<c:set var="bytea" value="${userInfo.userImage }"/>
取出的是字节数组
我取出来了,但不知道怎么
字节数组怎么读到流中,用脚本会,表达式就不会了。
映射类型---------》String
java类型------------->String
我的数据库存进的数如0x0000000000000FA5,
请问怎么读出来。2<c:set var="bytea" value="${userInfo.userImage }"/>
取出的是字节数组
我取出来了,但不知道怎么
字节数组怎么读到流中,用脚本会,表达式就不会了。
这个不太理解你的需求,稍微写点,自己在考虑考考:byte[] bt = new byte[2048];
BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(""));
bos.write(bt);