摘要:
String转成bolb插入到mysql数据库中 DbConn db=new DbConn(); Connection con=db.getConnection(); PreparedStatement pstmst = null; ByteArrayInputStream stream = null; try { String sql = "insert into t values(?,1)";//?位置是blob类型的 pstmst =con.prepareStatement(sql); String content = "aBc\nBBB"; st 阅读全文
posted @ 2011-12-07 11:29
ivanUp
阅读(4945)
评论(0)
推荐(0)
浙公网安备 33010602011771号