文章分类 -  Hibernate

摘要:String s1="1231dsdgasd的飒飒大"; Clob c = new SerialClob(s1.toCharArray());//String 转 clob Blob b = new SerialBlob(s1.getBytes("GBK"));//String 转 blob// 也可以这样不传字符集名称,默认使用系统的 // Blob b = new SerialBlob(s1.getBytes()); String clobString = c.getSubString(1, (int) c.length());//clob 转 St 阅读全文
posted @ 2012-11-28 21:31 Alex~ 阅读(8787) 评论(1) 推荐(0)
摘要:hibernate SQL dialect 阅读全文
posted @ 2012-10-16 10:26 Alex~ 阅读(170) 评论(0) 推荐(0)